diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:14:50 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:14:50 +0000 |
commit | 10c92b3ca0db6c367b2ef656e788d7bf80aa49ca (patch) | |
tree | f5ebe04d4a9ad2d1aab0e41bf3f40bd95e214fe2 /rsc/source | |
parent | 627cd53204c8c14ae26e2a87d7e590569bfc80c8 (diff) |
INTEGRATION: CWS warningfixes02 (1.7.8); FILE MERGED
2006/06/30 12:31:17 sb 1.7.8.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/res/rscrange.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rsc/source/res/rscrange.cxx b/rsc/source/res/rscrange.cxx index 564d3961cd79..fc41acf856e6 100644 --- a/rsc/source/res/rscrange.cxx +++ b/rsc/source/res/rscrange.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rscrange.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2006-06-20 05:48:14 $ + * last change: $Author: kz $ $Date: 2006-07-19 17:14:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -253,9 +253,9 @@ void RscRange::WriteRcAccess { fprintf( fOutput, "\t\tSet%s( ", pName ); if( nMin >= 0 ) - fprintf( fOutput, "*(sal_uInt32 *)(pResData+nOffset) );\n", pName ); + fprintf( fOutput, "*(sal_uInt32 *)(pResData+nOffset) );\n" ); else - fprintf( fOutput, "*(sal_Int32 *)(pResData+nOffset) );\n", pName ); + fprintf( fOutput, "*(sal_Int32 *)(pResData+nOffset) );\n" ); fprintf( fOutput, "\t\tnOffset += sizeof( sal_uInt32 );\n" ); } @@ -457,7 +457,7 @@ void RscLongRange::WriteRcAccess ) { fprintf( fOutput, "\t\tSet%s( ", pName ); - fprintf( fOutput, "GetLong( pResData+nOffset ) );\n", pName ); + fprintf( fOutput, "GetLong( pResData+nOffset ) );\n" ); fprintf( fOutput, "\t\tnOffset += sizeof( INT32 );\n" ); } @@ -709,7 +709,7 @@ void RscIdRange::WriteRcAccess ) { fprintf( fOutput, "\t\tSet%s( ", pName ); - fprintf( fOutput, "GetLong( pResData+nOffset ) );\n", pName ); + fprintf( fOutput, "GetLong( pResData+nOffset ) );\n" ); fprintf( fOutput, "\t\tnOffset += sizeof( INT32 );\n" ); } @@ -795,7 +795,7 @@ void RscBool::WriteRcAccess ) { fprintf( fOutput, "\t\tSet%s( ", pName ); - fprintf( fOutput, "(BOOL)*(short *)(pResData+nOffset) );\n", pName ); + fprintf( fOutput, "(BOOL)*(short *)(pResData+nOffset) );\n" ); fprintf( fOutput, "\t\tnOffset += sizeof( short );\n" ); } |