From 547b1d054162a73d49a828bed140ab8671da2ff8 Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 2 Oct 2020 16:27:46 +0200 Subject: use more TOOLS_WARN_EXCEPTION Change-Id: I8b5cde993c13e0b7c8c830b1ff698933a6b7cfd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103863 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unotools/source/config/itemholder1.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unotools') diff --git a/unotools/source/config/itemholder1.cxx b/unotools/source/config/itemholder1.cxx index f24af51db595..bad26a977108 100644 --- a/unotools/source/config/itemholder1.cxx +++ b/unotools/source/config/itemholder1.cxx @@ -59,8 +59,7 @@ ItemHolder1::ItemHolder1() if(bMessage) { bMessage = false; - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN( "unotools", "CreateInstance with arguments exception: " << exceptionToString(ex)); + TOOLS_WARN_EXCEPTION( "unotools", "CreateInstance with arguments"); } } #else -- cgit