diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2011-11-22 16:19:04 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2011-11-22 16:19:04 +0000 |
| commit | 4bff1c9162c4640f84bbb256802b01bb23b3da7b (patch) | |
| tree | 7981bb16846f7fc494fe847381f9dc94c78456a6 /src/dom/cssreader.h | |
| parent | Extensions. Fix for bug #887539 (Permissions and #! in extension scripts need... (diff) | |
| download | inkscape-4bff1c9162c4640f84bbb256802b01bb23b3da7b.tar.gz inkscape-4bff1c9162c4640f84bbb256802b01bb23b3da7b.zip | |
initialisation
(bzr r10748)
Diffstat (limited to 'src/dom/cssreader.h')
| -rw-r--r-- | src/dom/cssreader.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/dom/cssreader.h b/src/dom/cssreader.h index 0a9a7c031..8f795fc9c 100644 --- a/src/dom/cssreader.h +++ b/src/dom/cssreader.h @@ -53,7 +53,11 @@ public: /** * */ - CssReader() + CssReader() : + stylesheet(), + parsebuf(), + parselen(0), + lastPosition(0) {} /** @@ -75,9 +79,10 @@ public: private: + CSSStyleSheet stylesheet; DOMString parsebuf; long parselen; - CSSStyleSheet stylesheet; + int lastPosition; /** @@ -262,9 +267,6 @@ int getFunction(int p0); */ int getHexColor(int p0); - -int lastPosition; - /** * Get the column and row number of the given character position. * Also gets the last-occuring newline before the position |
