diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 10:29:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 23:03:19 +0200 |
commit | e25758ac95380965aba486e1eae62f144d389185 (patch) | |
tree | 0ecd9604d5a9f55d73426556dd72e89947ae4162 /embeddedobj | |
parent | 12e8ef4505d07adf9f115670f07d12b85f4fd5a2 (diff) |
loplugin:logexceptionnicely (clang-cl)
Change-Id: I2da126a38db61d2a0f36f8f2d38b0dddeb26c9d4
Reviewed-on: https://gerrit.libreoffice.org/79929
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/msole/olevisual.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx index 879d0b0ce9ec..5a12ac3588ba 100644 --- a/embeddedobj/source/msole/olevisual.cxx +++ b/embeddedobj/source/msole/olevisual.cxx @@ -31,6 +31,7 @@ #include <comphelper/seqstream.hxx> #include <filter/msfilter/classids.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #if defined(_WIN32) #include "olecomponent.hxx" @@ -234,9 +235,9 @@ awt::Size SAL_CALL OleEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect ) { changeState(embed::EmbedStates::LOADED); } - catch( const uno::Exception& e ) + catch( const uno::Exception& ) { - SAL_WARN("embeddedobj.ole", "ignoring " << e); + TOOLS_WARN_EXCEPTION("embeddedobj.ole", "ignoring "); } } |