summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx4
-rw-r--r--sfx2/source/doc/doctemplates.cxx2
-rw-r--r--sfx2/source/doc/guisaveas.cxx6
-rw-r--r--sfx2/source/doc/objcont.cxx2
-rw-r--r--sfx2/source/doc/objxtor.cxx8
6 files changed, 12 insertions, 12 deletions
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index f3e6c5124024..93b93eb1b5a3 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -2039,7 +2039,7 @@ void SAL_CALL SfxDocumentMetaData::setModified( sal_Bool bModified )
throw;
} catch (const css::uno::Exception & e) {
// ignore
- SAL_WARN("sfx.doc", "setModified: exception: " << e.Message);
+ SAL_WARN("sfx.doc", "setModified: " << e);
}
} else {
if (xMB.is()) {
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 7437c66ee8ed..a7dc38a6bd7c 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2102,7 +2102,7 @@ void SfxMedium::Transfer_Impl()
}
catch ( css::uno::Exception & e )
{
- SAL_WARN( "sfx.doc", "LOCK not working while re-issuing it. Exception message: " << e.Message );
+ SAL_WARN( "sfx.doc", "LOCK not working while re-issuing it. Exception message: " << e );
}
}
catch ( const css::ucb::CommandAbortedException& )
@@ -3532,7 +3532,7 @@ bool SfxMedium::SignContents_Impl( bool bScriptingContent, const OUString& aODFV
catch (const io::IOException& rException)
{
if (bODF)
- SAL_WARN("sfx.doc", "ODF stream is not a zip storage: " << rException.Message);
+ SAL_WARN("sfx.doc", "ODF stream is not a zip storage: " << rException);
}
if ( !xWriteableZipStor.is() && bODF )
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 7181a5db9fcb..4c6eed134cb1 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -431,7 +431,7 @@ void SfxDocTplService_Impl::init_Impl()
::comphelper::getProcessComponentContext()));
} catch (uno::RuntimeException const& e) {
SAL_WARN("sfx.doc", "SfxDocTplService_Impl::init_Impl: "
- "cannot create DocumentProperties service:" << e.Message);
+ "cannot create DocumentProperties service:" << e);
}
OUString const aService = SERVICENAME_TYPEDETECTION;
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 86a02dc5dd8f..d733ac619fe4 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -649,7 +649,7 @@ bool ModelData_Impl::ExecuteFilterDialog_Impl( const OUString& aFilterName )
}
catch( const uno::Exception& e )
{
- SAL_WARN("sfx.doc", "ignoring UNO exception " << e.Message);
+ SAL_WARN("sfx.doc", "ignoring " << e);
}
return bDialogUsed;
@@ -1413,7 +1413,7 @@ bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >& xMo
catch (const lang::IllegalArgumentException& e)
{
SAL_WARN("sfx.doc", "Ignoring parameters! "
- "ModelData considers this illegal: " << e.Message);
+ "ModelData considers this illegal: " << e);
aModelData.GetStorable()->store();
}
}
@@ -1783,7 +1783,7 @@ void SfxStoringHelper::SetDocInfoState(
}
catch (const uno::Exception& e)
{
- SAL_INFO("sfx.doc", "SetDocInfoState: caught exception: " << e.Message);
+ SAL_INFO("sfx.doc", "SetDocInfoState: caught " << e);
}
// set the modified flag back if required
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index ddbd8a9d90bc..e213dadcca68 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -444,7 +444,7 @@ void SfxObjectShell::UpdateFromTemplate_Impl( )
}
catch (const Exception& e)
{
- SAL_INFO("sfx.doc", "caught exception" << e.Message);
+ SAL_INFO("sfx.doc", e);
}
// if modify date was read successfully
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index a9da93c3187c..738ea5e10f71 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -662,7 +662,7 @@ BasicManager* SfxObjectShell::GetBasicManager() const
}
catch (const css::ucb::ContentCreationException& e)
{
- SAL_WARN("sfx.doc", "caught exception " << e.Message);
+ SAL_WARN("sfx.doc", "caught " << e);
}
#endif
return pBasMgr;
@@ -729,7 +729,7 @@ Reference< XLibraryContainer > SfxObjectShell::GetDialogContainer()
}
catch (const css::ucb::ContentCreationException& e)
{
- SAL_WARN("sfx.doc", "caught exception " << e.Message);
+ SAL_WARN("sfx.doc", "caught " << e);
}
SAL_WARN("sfx.doc", "SfxObjectShell::GetDialogContainer: falling back to the application - is this really expected here?");
@@ -753,7 +753,7 @@ Reference< XLibraryContainer > SfxObjectShell::GetBasicContainer()
}
catch (const css::ucb::ContentCreationException& e)
{
- SAL_WARN("sfx.doc", "caught exception " << e.Message);
+ SAL_WARN("sfx.doc", "caught " << e);
}
}
SAL_WARN("sfx.doc", "SfxObjectShell::GetBasicContainer: falling back to the application - is this really expected here?");
@@ -816,7 +816,7 @@ void SfxObjectShell::InitBasicManager_Impl()
}
catch (const css::ucb::ContentCreationException& e)
{
- SAL_WARN("sfx.doc", "caught exception " << e.Message);
+ SAL_WARN("sfx.doc", "caught " << e);
}
DBG_ASSERT( pImpl->aBasicManager.isValid(), "SfxObjectShell::InitBasicManager_Impl: did not get a BasicManager!" );
pImpl->bBasicInitialized = true;