diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-15 13:13:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-15 19:58:11 +0200 |
commit | 5c43a91db2c2759ae52faf3b80159beb0a1257d9 (patch) | |
tree | 756abd1d53b361f7d5aaf655664047261647f1ab /sc/source/ui/vba/vbarange.cxx | |
parent | 48f62672abd1c594c2c4132c36ae80ffe346ae8b (diff) |
loplugin:logexceptionnicely in sc
Change-Id: Icaa476206312a5f81896f59fa8109448a8ea8963
Reviewed-on: https://gerrit.libreoffice.org/74101
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/vba/vbarange.cxx')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 42b3ea9300d6..dfe74c5f694e 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -26,6 +26,7 @@ #include <o3tl/any.hxx> #include <sfx2/objsh.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <com/sun/star/script/ArrayWrapper.hpp> #include <com/sun/star/script/XTypeConverter.hpp> @@ -1550,9 +1551,9 @@ ScVbaRange::setValue( const uno::Any& aValue, ValueSetter& valueSetter ) visitArray( setter ); } } - catch ( const uno::Exception& e ) + catch ( const uno::Exception& ) { - SAL_WARN("sc", "Bahhh, caught " << e ); + TOOLS_WARN_EXCEPTION("sc", "Bahhh, caught" ); } } else |