diff options
Diffstat (limited to 'tools/source/rc/resmgr.cxx')
-rw-r--r-- | tools/source/rc/resmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 8e9931e9f050..bc4e4ad65119 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -727,7 +727,7 @@ UniString GetTypeRes_Impl( const ResId& rTypeId ) { // Funktion verlassen, falls Resourcefehler in dieser Funktion static int bInUse = sal_False; - UniString aTypStr( UniString::CreateFromInt32( rTypeId.GetId() ) ); + rtl::OUString aTypStr(OUString::valueOf(static_cast<sal_Int32>(rTypeId.GetId()))); if ( !bInUse ) { @@ -741,7 +741,7 @@ UniString GetTypeRes_Impl( const ResId& rTypeId ) rTypeId.SetRT( RSC_STRING ); if ( rTypeId.GetResMgr()->IsAvailable( rTypeId ) ) { - aTypStr = UniString( rTypeId ); + aTypStr = ResId::toString(rTypeId); // Versions Resource Klassenzeiger ans Ende setzen rTypeId.GetResMgr()->Increment( sizeof( RSHEADER_TYPE ) ); } |