From d9e6d51c7a49d612fbc0b5a44d1c2b85e1aac899 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 31 Mar 2018 13:28:36 +0200 Subject: loplugin:unusedfields Change-Id: Id2dea1d3a56d5d3be03c5a2a4f2ef530a05f9b19 Reviewed-on: https://gerrit.libreoffice.org/52185 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/filter/xml/swxml.cxx | 3 +-- sw/source/filter/xml/wrtxml.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sw/source/filter/xml') 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(); -- cgit