summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/controlmodelcontainerbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r--toolkit/source/controls/controlmodelcontainerbase.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index f81468526b13..97f960462a3b 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -97,8 +97,7 @@ struct DisposeControlModel
}
catch (const Exception&)
{
- css::uno::Any ex( cppu::getCaughtException() );
- SAL_WARN("toolkit", "caught an exception while disposing a component! " << exceptionToString(ex) );
+ TOOLS_WARN_EXCEPTION("toolkit", "caught an exception while disposing a component" );
}
}
};
@@ -818,8 +817,7 @@ namespace
}
catch (const Exception&)
{
- css::uno::Any ex( cppu::getCaughtException() );
- SAL_WARN("toolkit", "caught an exception while determining the dialog page! " << exceptionToString(ex) );
+ TOOLS_WARN_EXCEPTION("toolkit", "caught an exception while determining the dialog page" );
}
return nStep;
}