summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-07-05 19:02:56 +0200
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-07-05 19:02:56 +0200
commit4a3d1757b1f300237f5b18424874f5d3e89c6135 (patch)
tree898e30d465b78fe7931d93952bb0a6dbb38ca2ed
parentooo33gsl02: #i112846# text alignment, separator for menu button (diff)
downloadcore-4a3d1757b1f300237f5b18424874f5d3e89c6135.tar.gz
core-4a3d1757b1f300237f5b18424874f5d3e89c6135.zip
ooo33gsl02: #i112857# do not mess up the resource stack if a string is not found
-rw-r--r--tools/source/string/strucvt.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/source/string/strucvt.cxx b/tools/source/string/strucvt.cxx
index 7198d0e8f98c..9c9ef1dc4b5a 100644
--- a/tools/source/string/strucvt.cxx
+++ b/tools/source/string/strucvt.cxx
@@ -201,6 +201,8 @@ UniString::UniString( const ResId& rResId )
Append( UniString::CreateFromInt32( rResId.GetId() ) );
AppendAscii( " not found>" );
#endif
+ if( pResMgr )
+ pResMgr->PopContext();
}