summaryrefslogtreecommitdiff
path: root/oox/source/export/shapes.cxx
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 /oox/source/export/shapes.cxx
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 'oox/source/export/shapes.cxx')
-rw-r--r--oox/source/export/shapes.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index f1073262da70..b5a44c754c11 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -289,7 +289,7 @@ static uno::Reference<io::XInputStream> lcl_StoreOwnAsOOXML(
}
catch (uno::Exception const& e)
{
- SAL_WARN("oox.shape", "oox::GetOLEObjectStream: exception: \"" << e.Message << "\"");
+ SAL_WARN("oox.shape", "oox::GetOLEObjectStream: " << e);
return nullptr;
}
xTempStream->getOutputStream()->closeOutput();
@@ -329,7 +329,7 @@ uno::Reference<io::XInputStream> GetOLEObjectStream(
}
catch (uno::Exception const& e)
{
- SAL_WARN("oox.shape", "oox::GetOLEObjectStream: exception: " << e.Message);
+ SAL_WARN("oox.shape", "oox::GetOLEObjectStream: " << e);
}
return xInStream;
}
@@ -1968,7 +1968,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( const Reference< XShape >& xShape )
}
catch (uno::Exception const& e)
{
- SAL_WARN("oox.shape", "ShapeExport::WriteOLE2Shape: exception: " << e.Message);
+ SAL_WARN("oox.shape", "ShapeExport::WriteOLE2Shape: " << e);
return *this;
}
@@ -2037,7 +2037,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( const Reference< XShape >& xShape )
try {
::comphelper::OStorageHelper::CopyInputToOutput(xInStream, xOutStream);
} catch (uno::Exception const& e) {
- SAL_WARN("oox.shape", "ShapeExport::WriteOLEObject: exception: " << e.Message);
+ SAL_WARN("oox.shape", "ShapeExport::WriteOLEObject: " << e);
}
OUString const sRelId = mpFB->addRelation(