summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdmodel.cxx2
-rw-r--r--svx/source/svdraw/svdomedia.cxx6
-rw-r--r--svx/source/svdraw/svdoole2.cxx3
3 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index ad2d751abbd9..124fd1741b29 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -864,7 +864,7 @@ SdrModel::GetDocumentStream( OUString const& rURL,
}
catch (uno::Exception const& e)
{
- SAL_WARN("svx", "exception: '" << e.Message << "'");
+ SAL_WARN("svx", "exception: '" << e << "'");
}
return nullptr;
}
diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 1594c5d43396..7dd17c5e7665 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -320,7 +320,7 @@ static bool lcl_HandleJsonPackageURL(
}
catch (uno::Exception const& e)
{
- SAL_INFO("svx", "exception while copying glTF related files to temp directory '" << e.Message << "'");
+ SAL_INFO("svx", "exception while copying glTF related files to temp directory '" << e << "'");
}
return true;
}
@@ -348,7 +348,7 @@ static bool lcl_CopyToTempFile(
}
catch (uno::Exception const& e)
{
- SAL_WARN("svx", "exception: '" << e.Message << "'");
+ SAL_WARN("svx", "exception: '" << e << "'");
return false;
}
o_rTempFileURL = tempFileURL;
@@ -396,7 +396,7 @@ static bool lcl_HandlePackageURL(
}
catch (uno::Exception const& e)
{
- SAL_WARN("svx", "exception: '" << e.Message << "'");
+ SAL_WARN("svx", "exception: '" << e << "'");
return false;
}
if (!xInStream.is())
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index 625f9ea1fd9a..02a41ca31e0a 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -911,8 +911,7 @@ void SdrOle2Obj::CheckFileLink_Impl()
}
catch (const css::uno::Exception& e)
{
- SAL_WARN("svx", "SdrOle2Obj::CheckFileLink_Impl(),"
- "exception caught: " << e.Message);
+ SAL_WARN("svx", "SdrOle2Obj::CheckFileLink_Impl(), " << e);
}
}
}