diff options
Diffstat (limited to 'rsc/source/res/rscstr.cxx')
-rw-r--r-- | rsc/source/res/rscstr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/source/res/rscstr.cxx b/rsc/source/res/rscstr.cxx index e4aacca22b48..8319c33a3b62 100644 --- a/rsc/source/res/rscstr.cxx +++ b/rsc/source/res/rscstr.cxx @@ -61,7 +61,7 @@ ERRTYPE RscString::SetString( const RSCINST & rInst, const char * pStr ) sal_uInt32 nLen = strlen( pStr ) +1; pTmp = (char *)rtl_allocateMemory( nLen ); memcpy( pTmp, pStr, nLen ); - }; + } ((RscStringInst *)rInst.pData)->pStr = pTmp; } @@ -291,8 +291,8 @@ ERRTYPE RscString::WriteRc( const RSCINST & rInst, RscWriteRc & rMem, } else rMem.PutUTF8( ((RscStringInst *)rInst.pData)->pStr ); - }; - }; + } + } return aError; } |