summaryrefslogtreecommitdiff
path: root/cui/source/options/optinet2.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-02 15:56:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-03 08:13:51 +0200
commit6ee9ab65db0a993bc93bbf0140f0a4657be10657 (patch)
treebf99e0212559149b943febfff5d7df82d9ccbede /cui/source/options/optinet2.cxx
parent547b1d054162a73d49a828bed140ab8671da2ff8 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: Id83c478af5d04ad548c7cf4239fe2fb3ee154dc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103861 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optinet2.cxx')
-rw-r--r--cui/source/options/optinet2.cxx28
1 files changed, 15 insertions, 13 deletions
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 025d31d6e724..b47cd1178149 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -272,14 +272,15 @@ void SvxProxyTabPage::ReadConfigDefaults_Impl()
}
catch (const beans::UnknownPropertyException &)
{
- SAL_WARN("cui.options", "SvxProxyTabPage::ReadConfigDefaults_Impl: UnknownPropertyException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
- catch (const css::lang::WrappedTargetException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::ReadConfigDefaults_Impl: WrappedTargetException caught" );
+ catch (const css::lang::WrappedTargetException &)
+ {
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
catch (const RuntimeException &)
{
- SAL_WARN("cui.options", "SvxProxyTabPage::ReadConfigDefaults_Impl: RuntimeException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
}
@@ -303,14 +304,15 @@ void SvxProxyTabPage::RestoreConfigDefaults_Impl()
}
catch (const beans::UnknownPropertyException &)
{
- SAL_WARN("cui.options", "SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
- catch (const css::lang::WrappedTargetException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught" );
+ catch (const css::lang::WrappedTargetException &)
+ {
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
catch (const RuntimeException &)
{
- SAL_WARN("cui.options", "SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
}
@@ -396,19 +398,19 @@ bool SvxProxyTabPage::FillItemSet(SfxItemSet* )
xChangesBatch->commitChanges();
}
catch (const css::lang::IllegalArgumentException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::FillItemSet: IllegalArgumentException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
catch (const beans::UnknownPropertyException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::FillItemSet: UnknownPropertyException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
catch (const beans::PropertyVetoException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::FillItemSet: PropertyVetoException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
catch (const css::lang::WrappedTargetException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::FillItemSet: WrappedTargetException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
catch (const RuntimeException &) {
- SAL_WARN("cui.options", "SvxProxyTabPage::FillItemSet: RuntimeException caught" );
+ TOOLS_WARN_EXCEPTION("cui.options", "" );
}
return bModified;