summaryrefslogtreecommitdiff
path: root/sfx2/source/config
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-02 16:27:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-03 08:13:29 +0200
commit547b1d054162a73d49a828bed140ab8671da2ff8 (patch)
treed1e2f14c39440d678ba27cb5bd52ab91e8e499d0 /sfx2/source/config
parent1f40a488fcf95f90fdd18c41ef7041d475cf08a2 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: I8b5cde993c13e0b7c8c830b1ff698933a6b7cfd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103863 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/config')
-rw-r--r--sfx2/source/config/evntconf.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx
index df3803126a94..914c7515d970 100644
--- a/sfx2/source/config/evntconf.cxx
+++ b/sfx2/source/config/evntconf.cxx
@@ -25,6 +25,7 @@
#include <comphelper/processfactory.hxx>
#include <sfx2/evntconf.hxx>
#include <svl/macitem.hxx>
+#include <tools/diagnose_ex.h>
#include <sfx2/objsh.hxx>
#include <eventsupplier.hxx>
@@ -189,11 +190,11 @@ static void PropagateEvent_Impl( SfxObjectShell const *pDoc, const OUString& aEv
}
catch( const css::lang::IllegalArgumentException& )
{
- SAL_WARN( "sfx.config", "PropagateEvents_Impl: caught IllegalArgumentException" );
+ TOOLS_WARN_EXCEPTION( "sfx.config", "PropagateEvents_Impl: caught IllegalArgumentException" );
}
catch( const css::container::NoSuchElementException& )
{
- SAL_WARN( "sfx.config", "PropagateEvents_Impl: caught NoSuchElementException" );
+ TOOLS_WARN_EXCEPTION( "sfx.config", "PropagateEvents_Impl: caught NoSuchElementException" );
}
}
else {