summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-31 13:28:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-31 20:21:42 +0200
commitd9e6d51c7a49d612fbc0b5a44d1c2b85e1aac899 (patch)
tree9a6789a1af344bc081659762660b11ceaf00d3c9 /sw/source/filter/xml
parent5c7ba324eb1b66b367c3f00164044a80778b8871 (diff)
loplugin:unusedfields
Change-Id: Id2dea1d3a56d5d3be03c5a2a4f2ef530a05f9b19 Reviewed-on: https://gerrit.libreoffice.org/52185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r--sw/source/filter/xml/swxml.cxx3
-rw-r--r--sw/source/filter/xml/wrtxml.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index cb5b122f5373..d64f3c2ccd18 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -496,8 +496,7 @@ ErrCode XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, con
return ERR_SWG_READ_ERROR;
xGraphicHelper = SvXMLGraphicHelper::Create( xStorage,
- SvXMLGraphicHelperMode::Read,
- false );
+ SvXMLGraphicHelperMode::Read );
xGraphicResolver = xGraphicHelper.get();
SfxObjectShell *pPersist = rDoc.GetPersist();
if( pPersist )
diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx
index 269b2cc22e6f..436e5392d81d 100644
--- a/sw/source/filter/xml/wrtxml.cxx
+++ b/sw/source/filter/xml/wrtxml.cxx
@@ -88,8 +88,7 @@ ErrCode SwXMLWriter::Write_( const uno::Reference < task::XStatusIndicator >& xS
OSL_ENSURE( xStg.is(), "Where is my storage?" );
xGraphicHelper = SvXMLGraphicHelper::Create( xStg,
- SvXMLGraphicHelperMode::Write,
- false );
+ SvXMLGraphicHelperMode::Write );
xGraphicResolver = xGraphicHelper.get();
SfxObjectShell *pPersist = pDoc->GetPersist();