diff options
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 |
