summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctempl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/doctempl.cxx')
-rw-r--r--sfx2/source/doc/doctempl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 37edcd03a2e4..3b48b431b294 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -599,8 +599,8 @@ OUString SfxDocumentTemplates::ConvertResourceString (
{
for( int i = 0; i < nCount; ++i )
{
- if( rString == ResId::toString( SfxResId( nSourceResIds + i) ) )
- return ResId::toString( SfxResId( nDestResIds + i ) );
+ if( rString == SFX2_RESSTR(nSourceResIds + i))
+ return SFX2_RESSTR(nDestResIds + i);
}
return rString;
}