summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/shapes
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-15 15:56:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-16 13:31:26 +0200
commit889dc7bffa02236bf2ad56b382997771f0fcf3c6 (patch)
treee7fc2c8748972bb1ed4acb98fd92ff08a8670f7b /slideshow/source/engine/shapes
parent9a97a26511584f41c3753fa9536e1c4a8dce637a (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: Ic21ea11ff106e0732bb8fa600ef39a549d7bda86 Reviewed-on: https://gerrit.libreoffice.org/77569 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine/shapes')
-rw-r--r--slideshow/source/engine/shapes/drawinglayeranimation.cxx2
-rw-r--r--slideshow/source/engine/shapes/externalshapebase.cxx2
-rw-r--r--slideshow/source/engine/shapes/viewbackgroundshape.cxx2
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
index c8e21b5c8e15..ef931979c643 100644
--- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx
+++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
@@ -935,7 +935,7 @@ std::shared_ptr<Activity> createDrawingLayerAnimActivity(
catch( uno::Exception& )
{
// translate any error into empty factory product.
- SAL_WARN( "slideshow", exceptionToString( cppu::getCaughtException() ) );
+ TOOLS_WARN_EXCEPTION( "slideshow", "" );
}
return pActivity;
diff --git a/slideshow/source/engine/shapes/externalshapebase.cxx b/slideshow/source/engine/shapes/externalshapebase.cxx
index 00ba2bb2c37b..6e557bb456de 100644
--- a/slideshow/source/engine/shapes/externalshapebase.cxx
+++ b/slideshow/source/engine/shapes/externalshapebase.cxx
@@ -108,7 +108,7 @@ namespace slideshow
}
catch (uno::Exception &)
{
- SAL_WARN( "slideshow", exceptionToString( cppu::getCaughtException() ) );
+ TOOLS_WARN_EXCEPTION( "slideshow", "" );
}
}
diff --git a/slideshow/source/engine/shapes/viewbackgroundshape.cxx b/slideshow/source/engine/shapes/viewbackgroundshape.cxx
index a7cf3c26fd2f..cdfd10bad100 100644
--- a/slideshow/source/engine/shapes/viewbackgroundshape.cxx
+++ b/slideshow/source/engine/shapes/viewbackgroundshape.cxx
@@ -185,7 +185,7 @@ namespace slideshow
}
catch( uno::Exception& )
{
- SAL_WARN( "slideshow", exceptionToString( cppu::getCaughtException() ) );
+ TOOLS_WARN_EXCEPTION( "slideshow", "" );
return false;
}
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index 491b773fde02..057b508437ae 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -317,7 +317,7 @@ namespace slideshow
}
catch( uno::Exception& )
{
- SAL_WARN( "slideshow", exceptionToString( cppu::getCaughtException() ) );
+ TOOLS_WARN_EXCEPTION( "slideshow", "" );
}
}
}
@@ -478,7 +478,7 @@ namespace slideshow
}
catch( uno::Exception& )
{
- SAL_WARN( "slideshow", exceptionToString( cppu::getCaughtException() ) );
+ TOOLS_WARN_EXCEPTION( "slideshow", "" );
}
}
}