summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/classificationhelper.cxx4
-rw-r--r--sfx2/source/view/ipclient.cxx6
-rw-r--r--sfx2/source/view/viewsh.cxx2
3 files changed, 5 insertions, 7 deletions
diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index 3cff7ae172db..aa61839c06e6 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -392,7 +392,7 @@ void SfxClassificationHelper::Impl::parsePolicy()
}
catch (const xml::sax::SAXParseException& rException)
{
- SAL_WARN("sfx.view", "parsePolicy() failed: " << rException.Message);
+ SAL_WARN("sfx.view", "parsePolicy() failed: " << rException);
}
m_aCategories = xClassificationParser->m_aCategories;
m_aMarkings = xClassificationParser->m_aMarkings;
@@ -450,7 +450,7 @@ void SfxClassificationHelper::Impl::pushToDocumentProperties()
}
catch (const uno::Exception& rException)
{
- SAL_WARN("sfx.view", "pushDocumentProperties() failed for property " << rLabel.first << ": " << rException.Message);
+ SAL_WARN("sfx.view", "pushDocumentProperties() failed for property " << rLabel.first << ": " << rException);
}
}
}
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index f0ec0e2e7f48..78756c693762 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -954,9 +954,7 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb )
}
catch (uno::Exception const& e)
{
- SAL_WARN("embeddedobj", "SfxInPlaceClient::DoVerb:"
- " -9 fallback path: exception caught: "
- << e.Message);
+ SAL_WARN("embeddedobj", "SfxInPlaceClient::DoVerb: -9 fallback path: " << e);
nError = ERRCODE_SO_GENERALERROR;
}
}
@@ -969,7 +967,7 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb )
catch (uno::Exception const& e)
{
SAL_WARN("embeddedobj", "SfxInPlaceClient::DoVerb:"
- " exception caught: " << e.Message);
+ " exception caught: " << e);
nError = ERRCODE_SO_GENERALERROR;
//TODO/LATER: better error handling
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 80c91ef25b7c..f39c71d02691 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1635,7 +1635,7 @@ void SfxViewShell::CheckIPClient_Impl(
}
catch (const uno::Exception& e)
{
- SAL_WARN("sfx.view", "SfxViewShell::CheckIPClient_Impl exception: " << e.Message);
+ SAL_WARN("sfx.view", "SfxViewShell::CheckIPClient_Impl: " << e);
}
}
}