diff options
Diffstat (limited to 'psprint')
-rw-r--r-- | psprint/inc/psprint/ppdparser.hxx | 4 | ||||
-rw-r--r-- | psprint/inc/psprint/printergfx.hxx | 2 | ||||
-rw-r--r-- | psprint/source/fontmanager/parseAFM.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/psprint/inc/psprint/ppdparser.hxx b/psprint/inc/psprint/ppdparser.hxx index 3cd63f7af74f..baea44ebaf25 100644 --- a/psprint/inc/psprint/ppdparser.hxx +++ b/psprint/inc/psprint/ppdparser.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ppdparser.hxx,v $ - * $Revision: 1.12 $ + * $Revision: 1.12.10.1 $ * * This file is part of OpenOffice.org. * @@ -222,7 +222,7 @@ public: ULONG getLanguageLevel() const { return m_nLanguageLevel; } const String& getDefaultPaperDimension() const; - const void getDefaultPaperDimension( int& rWidth, int& rHeight ) const + void getDefaultPaperDimension( int& rWidth, int& rHeight ) const { getPaperDimension( getDefaultPaperDimension(), rWidth, rHeight ); } bool getPaperDimension( const String& rPaperName, int& rWidth, int& rHeight ) const; diff --git a/psprint/inc/psprint/printergfx.hxx b/psprint/inc/psprint/printergfx.hxx index 30c141fb1a88..55816330fa48 100644 --- a/psprint/inc/psprint/printergfx.hxx +++ b/psprint/inc/psprint/printergfx.hxx @@ -52,7 +52,7 @@ class PrinterColor { public: - typedef enum ColorSpace { eInvalid, eRGB }; + enum ColorSpace { eInvalid, eRGB }; private: diff --git a/psprint/source/fontmanager/parseAFM.cxx b/psprint/source/fontmanager/parseAFM.cxx index 2d8a7817df52..480b4217503a 100644 --- a/psprint/source/fontmanager/parseAFM.cxx +++ b/psprint/source/fontmanager/parseAFM.cxx @@ -314,7 +314,7 @@ static char *linetoken( FileInputStream* stream ) static char ident[MAX_NAME]; /* storage buffer for keywords */ int ch, idx; - while ((ch = stream->getChar()) == ' ' || ch == '\t' ); + while ((ch = stream->getChar()) == ' ' || ch == '\t' ) ; idx = 0; while (ch != -1 && ch != lineterm && ch != '\r' && idx < MAX_NAME-1 ) |