summaryrefslogtreecommitdiffstats
path: root/embeddedobj
diff options
context:
space:
mode:
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/oleembed.cxx5
-rw-r--r--embeddedobj/source/msole/ownview.cxx5
2 files changed, 6 insertions, 4 deletions
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx
index beeae8ab2469..6dd539bd7a8e 100644
--- a/embeddedobj/source/msole/oleembed.cxx
+++ b/embeddedobj/source/msole/oleembed.cxx
@@ -49,6 +49,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/mimeconfighelper.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <targetstatecontrol.hxx>
@@ -934,9 +935,9 @@ void SAL_CALL OleEmbeddedObject::doVerb( sal_Int32 nVerbID )
{
throw;
}
- catch (uno::Exception const& e)
+ catch (uno::Exception const&)
{
- SAL_WARN("embeddedobj.ole", "OleEmbeddedObject::doVerb: -9 fallback path: " << e);
+ TOOLS_WARN_EXCEPTION("embeddedobj.ole", "OleEmbeddedObject::doVerb: -9 fallback path:");
}
}
diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx
index 0685bba77a37..e89ec59f60d8 100644
--- a/embeddedobj/source/msole/ownview.cxx
+++ b/embeddedobj/source/msole/ownview.cxx
@@ -41,6 +41,7 @@
#include <comphelper/storagehelper.hxx>
#include <comphelper/mimeconfighelper.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include "olepersist.hxx"
#include "ownview.hxx"
@@ -150,9 +151,9 @@ bool OwnView_Impl::CreateModelFromURL( const OUString& aFileURL )
}
}
}
- catch (uno::Exception const& e)
+ catch (uno::Exception const&)
{
- SAL_WARN("embeddedobj.ole", "OwnView_Impl::CreateModelFromURL:" << e);
+ TOOLS_WARN_EXCEPTION("embeddedobj.ole", "OwnView_Impl::CreateModelFromURL:");
}
}