summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/defaultforminspection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/defaultforminspection.cxx')
-rw-r--r--extensions/source/propctrlr/defaultforminspection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx
index c5346473d0b4..0b0abf35f459 100644
--- a/extensions/source/propctrlr/defaultforminspection.cxx
+++ b/extensions/source/propctrlr/defaultforminspection.cxx
@@ -181,7 +181,7 @@ namespace pcr
for ( sal_Int32 i=0; i<nCategories; ++i, ++pReturn )
{
pReturn->ProgrammaticName = OUString::createFromAscii( aCategories[i].programmaticName );
- pReturn->UIName = String( PcrRes( aCategories[i].uiNameResId ) );
+ pReturn->UIName = PcrRes( aCategories[i].uiNameResId ).toString();
pReturn->HelpURL = HelpIdUrl::getHelpURL( aCategories[i].helpId );
}