diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/localizationmgr.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx index 3a57c8de672d..45c6239bc5c7 100644 --- a/basctl/source/basicide/localizationmgr.cxx +++ b/basctl/source/basicide/localizationmgr.cxx @@ -302,10 +302,9 @@ sal_Int32 LocalizationMgr::implHandleControlResourceProperties for( sal_Int32 i = 0 ; i < nLocaleCount ; i++ ) { const Locale& rLocale = pLocales[ i ]; - OUString aResStr; try { - aResStr = xStringResourceManager->resolveStringForLocale + OUString aResStr = xStringResourceManager->resolveStringForLocale ( aPureSourceIdStr, rLocale ); xStringResourceManager->removeIdForLocale( aPureSourceIdStr, rLocale ); xStringResourceManager->setStringForLocale( aPureIdStr, aResStr, rLocale ); @@ -515,10 +514,9 @@ sal_Int32 LocalizationMgr::implHandleControlResourceProperties { const Locale& rLocale = pLocales[ iLocale ]; - OUString aResStr; try { - aResStr = xStringResourceManager->resolveStringForLocale + OUString aResStr = xStringResourceManager->resolveStringForLocale ( aPureSourceIdStr, rLocale ); xStringResourceManager->removeIdForLocale( aPureSourceIdStr, rLocale ); xStringResourceManager->setStringForLocale( aPureIdStr, aResStr, rLocale ); |