summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/swxml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/swxml.cxx')
-rw-r--r--sw/source/filter/xml/swxml.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 515d3a6b2dfa..bd37e18b2634 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -196,7 +196,7 @@ ErrCode ReadThroughComponent(
if( bEncrypted )
return ERRCODE_SFX_WRONGPASSWORD;
- SAL_WARN( "sw", "SAX parse exception caught while importing: " << r.Message );
+ SAL_WARN( "sw", "SAX parse exception caught while importing: " << r );
const OUString sErr( OUString::number( r.LineNumber )
+ ","
@@ -226,22 +226,22 @@ ErrCode ReadThroughComponent(
if( bEncrypted )
return ERRCODE_SFX_WRONGPASSWORD;
- SAL_WARN( "sw", "SAX exception caught while importing: " << r.Message);
+ SAL_WARN( "sw", "SAX exception caught while importing: " << r);
return ERR_SWG_READ_ERROR;
}
catch(const packages::zip::ZipIOException& r)
{
- SAL_WARN( "sw", "Zip exception caught while importing: " << r.Message);
+ SAL_WARN( "sw", "Zip exception caught while importing: " << r);
return ERRCODE_IO_BROKENPACKAGE;
}
catch(const io::IOException& r)
{
- SAL_WARN( "sw", "IO exception caught while importing: " << r.Message);
+ SAL_WARN( "sw", "IO exception caught while importing: " << r);
return ERR_SWG_READ_ERROR;
}
catch(const uno::Exception& r)
{
- SAL_WARN( "sw", "uno exception caught while importing: " << r.Message );
+ SAL_WARN( "sw", "uno exception caught while importing: " << r );
return ERR_SWG_READ_ERROR;
}