diff options
-rw-r--r-- | cui/source/options/optgdlg.cxx | 6 | ||||
-rw-r--r-- | cui/source/options/treeopt.cxx | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 55d76b525568..6c7f60e1d13b 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1079,8 +1079,7 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSe { // we'll just leave the box in it's default setting and won't // even give it event handler... - OString aMsg = OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US); - OSL_FAIL(aMsg.getStr()); + SAL_WARN("cui.options", "ignoring Exception \"" << e.Message << "\""); } m_pWesternLanguageLB->SetLanguageList( LANG_LIST_WESTERN | LANG_LIST_ONLY_KNOWN, sal_True, sal_False, sal_True ); @@ -1239,8 +1238,7 @@ sal_Bool OfaLanguagesTabPage::FillItemSet( SfxItemSet& rSet ) { // we'll just leave the box in it's default setting and won't // even give it event handler... - OString aMsg = OUStringToOString(e.Message, RTL_TEXTENCODING_ASCII_US); - OSL_FAIL(aMsg.getStr()); + SAL_WARN("cui.options", "ignoring Exception \"" << e.Message << "\""); } OUString sLang = pLangConfig->aSysLocaleOptions.GetLocaleConfigString(); diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 0ece6755e06d..062d9c9f7c82 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -1607,8 +1607,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame ) OUString aFactory = getCurrentFactory_Impl( _xFrame ); - OUString sTemp = GetModuleIdentifier( _xFrame ); - DBG_ASSERT( sTemp == aFactory, "S H I T!!!" ); + DBG_ASSERT( GetModuleIdentifier( _xFrame ) == aFactory, "S H I T!!!" ); // Writer and Writer/Web options SvtModuleOptions aModuleOpt; |