diff options
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/tools/rsctools.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx index 136019e6dcdc..d760634f36b0 100644 --- a/rsc/source/tools/rsctools.cxx +++ b/rsc/source/tools/rsctools.cxx @@ -268,7 +268,10 @@ sal_uInt32 RscWriteRc :: IncSize( sal_uInt32 nSize ) char * RscWriteRc :: GetPointer( sal_uInt32 nSize ) { if( !pMem ) + { pMem = (char *)rtl_allocateMemory( nLen ); + memset( pMem, 0, nLen ); + } return( pMem + nSize ); } |