summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-29 16:21:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 15:18:00 +0200
commit2c05d758b2b62c9df413e2514fb3cd233d0f3ec7 (patch)
treee0a23d3da6fb17ae97d18957fc14f4a4a8de2d3f /xmloff/source/draw
parenta3088b1e72ef17babe3d3664c610afd02cfe0891 (diff)
add << operator for css::uno::Exception
Change-Id: Ia23dafd07133779144965682df3b7125a3214235 Reviewed-on: https://gerrit.libreoffice.org/43046 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/animationexport.cxx2
-rw-r--r--xmloff/source/draw/shapeexport.cxx7
-rw-r--r--xmloff/source/draw/shapeimport.cxx2
3 files changed, 5 insertions, 6 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx
index f3014ce41224..5af1d934fe1a 100644
--- a/xmloff/source/draw/animationexport.cxx
+++ b/xmloff/source/draw/animationexport.cxx
@@ -547,7 +547,7 @@ static OUString lcl_StoreMediaAndGetURL(SvXMLExport & rExport, OUString const& r
}
catch (uno::Exception const& e)
{
- SAL_INFO("xmloff", "exception while storing embedded media: '" << e.Message << "'");
+ SAL_INFO("xmloff", "exception while storing embedded media: '" << e << "'");
}
return OUString();
}
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 96f38e27c788..16084b9e27aa 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -3174,8 +3174,7 @@ lcl_StoreMediaAndGetURL(SvXMLExport & rExport,
}
catch (uno::Exception const& e)
{
- SAL_INFO("xmloff", "exception while storing embedded media: '"
- << e.Message << "'");
+ SAL_INFO("xmloff", "exception while storing embedded media: " << e);
}
return OUString();
}
@@ -3231,7 +3230,7 @@ static void lcl_StoreGltfExternals(
}
catch (uno::Exception const& e)
{
- SAL_INFO("xmloff", "exception while saving embedded model: '" << e.Message << "'");
+ SAL_INFO("xmloff", "exception while saving embedded model: '" << e << "'");
}
}
}
@@ -3310,7 +3309,7 @@ static void lcl_StoreGltfFallback(
}
catch (uno::Exception const& e)
{
- SAL_INFO("xmloff", "exception while saving fallback image of glTF model: '" << e.Message << "'");
+ SAL_INFO("xmloff", "exception while saving fallback image of glTF model: '" << e << "'");
}
}
}
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index cc541900fcb9..37215f14910d 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -836,7 +836,7 @@ void XMLShapeImportHelper::popGroupAndSort()
}
catch( const uno::Exception& rException )
{
- SAL_WARN("xmloff", "exception while sorting shapes, sorting failed: " << rException.Message);
+ SAL_WARN("xmloff", "exception while sorting shapes, sorting failed: " << rException);
}
// put parent on top and drop current context, we are done