diff options
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 80a526d3ae20..324d456e37b0 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -97,7 +97,8 @@ struct DisposeControlModel } catch (const Exception&) { - SAL_WARN("toolkit", "caught an exception while disposing a component!" ); + css::uno::Any ex( cppu::getCaughtException() ); + SAL_WARN("toolkit", "caught an exception while disposing a component! " << exceptionToString(ex) ); } } }; @@ -816,7 +817,8 @@ namespace } catch (const Exception&) { - SAL_WARN("toolkit", "caught an exception while determining the dialog page!" ); + css::uno::Any ex( cppu::getCaughtException() ); + SAL_WARN("toolkit", "caught an exception while determining the dialog page! " << exceptionToString(ex) ); } return nStep; } |