diff options
Diffstat (limited to 'rsc/source/tools')
-rw-r--r-- | rsc/source/tools/rscdef.cxx | 10 | ||||
-rw-r--r-- | rsc/source/tools/rsctools.cxx | 4 | ||||
-rw-r--r-- | rsc/source/tools/rsctree.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx index 7ecbe58c45fb..26fb2080dc10 100644 --- a/rsc/source/tools/rscdef.cxx +++ b/rsc/source/tools/rscdef.cxx @@ -243,7 +243,7 @@ void RscDefineList::WriteAll( FILE * fOutput ) pDefEle->GetName().getStr(), pDefEle->GetMacro().getStr() ); - }; + } } bool RscExpType::Evaluate( sal_Int32 * plValue ) const @@ -326,7 +326,7 @@ bool RscExpression::Evaluate( sal_Int32 * plValue ) if( 0L == lRight ) return false; *plValue = lLeft / lRight; - }; + } return true; } return false; @@ -485,7 +485,7 @@ bool RscDefTree::Evaluate( RscDefine * pDef ) return false; if( !Evaluate( (RscDefine *)pDef->Right() ) ) return false; - }; + } return true; } @@ -538,9 +538,9 @@ bool RscFileTab::Depend( sal_uLong lDepend, sal_uLong lFree ) { if( !pFile->Depend( lDepend, lFree ) ) return false; - }; + } aIndex = NextIndex(aIndex); - }; + } return true; } diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx index a6796991e96a..01c6f79665fa 100644 --- a/rsc/source/tools/rsctools.cxx +++ b/rsc/source/tools/rsctools.cxx @@ -179,13 +179,13 @@ char * ResponseFile( RscPtrPtr * ppCmd, char ** ppArgv, sal_uInt32 nArgc ) ppCmd->Append( rsc_strdup( szBuffer ) ); } nItems = fread( &szBuffer[ 0 ], 1, sizeof( char ), fFile ); - }; + } fclose( fFile ); } else ppCmd->Append( rsc_strdup( *(ppArgv +i) ) ); - }; + } ppCmd->Append( (void *)0 ); return NULL; } diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx index 25a645062123..9fcf90638f03 100644 --- a/rsc/source/tools/rsctree.cxx +++ b/rsc/source/tools/rsctree.cxx @@ -187,7 +187,7 @@ NameNode* NameNode::SearchParent( const NameNode * pSearch ) const if( ((NameNode *)Left())->Compare( pSearch ) == EQUAL ) return (NameNode *)this; return ((NameNode *)Left())->SearchParent( pSearch ); - }; + } } else if( nCmp == LESS ) { |