diff options
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r-- | cui/source/customize/cfg.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 0fae48f193b8..de19df3769cf 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1717,13 +1717,9 @@ void SvxConfigPage::Reset( const SfxItemSet& ) if ( pModuleData != NULL ) { - OUString label; - utl::ConfigManager::GetDirectConfigProperty( - utl::ConfigManager::PRODUCTNAME ) >>= label; - label += OUString(RTL_CONSTASCII_USTRINGPARAM( " " )); - label += aModuleName; - - nPos = aSaveInListBox.InsertEntry( label ); + nPos = aSaveInListBox.InsertEntry( + utl::ConfigManager::getProductName() + + OUString( RTL_CONSTASCII_USTRINGPARAM( " " ) ) + aModuleName ); aSaveInListBox.SetEntryData( nPos, pModuleData ); } |