summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
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