summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/tools/ConfigurationAccess.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-18 14:37:10 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-18 14:37:10 +0100
commit32feee91361deef53c3077f2baf941f37e7302d5 (patch)
treecf60ad07b7fb1ec89244cc080577b10add1fb5df /sd/source/ui/tools/ConfigurationAccess.cxx
parentslidecopy: removed the old TaskPane implementation, now completely superseded... (diff)
downloadcore-32feee91361deef53c3077f2baf941f37e7302d5.tar.gz
core-32feee91361deef53c3077f2baf941f37e7302d5.zip
slidecopy: use DBG_UNHANDLED_EXCEPTION instead of OSL_ASSERT, as the former will also print you the exception type and message
Diffstat (limited to 'sd/source/ui/tools/ConfigurationAccess.cxx')
-rw-r--r--sd/source/ui/tools/ConfigurationAccess.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx
index a262f0e1a652..2c3e2c33e648 100644
--- a/sd/source/ui/tools/ConfigurationAccess.cxx
+++ b/sd/source/ui/tools/ConfigurationAccess.cxx
@@ -36,6 +36,7 @@
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/util/XChangesBatch.hpp>
#include <comphelper/processfactory.hxx>
+#include <tools/diagnose_ex.h>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -116,11 +117,9 @@ void ConfigurationAccess::Initialize (
sAccessService,
aCreationArguments);
}
- catch (Exception& rException)
+ catch (Exception&)
{
- OSL_TRACE ("caught exception while opening configuration: %s",
- ::rtl::OUStringToOString(rException.Message,
- RTL_TEXTENCODING_UTF8).getStr());
+ DBG_UNHANDLED_EXCEPTION();
}
}