diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 08:29:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-26 11:15:52 +0200 |
commit | 4ed70b89aa89ff407775ede83521e9cd377159a0 (patch) | |
tree | e643060ea58d685702b2b9d03206dac0c5425287 /editeng | |
parent | 88dfd1ed710ee2b4b606f18ff5c3f34f626ec394 (diff) |
loplugin:unusedfields
Change-Id: I21e538b8e9c7a5f0fb233019efac37a3555e3c93
Reviewed-on: https://gerrit.libreoffice.org/40438
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eertfpar.cxx | 2 | ||||
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index b64cc7bf10ed..96dac9e61b63 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -65,7 +65,7 @@ RtfImportInfo::~RtfImportInfo() EditRTFParser::EditRTFParser( SvStream& rIn, EditSelection aSel, SfxItemPool& rAttrPool, EditEngine* pEditEngine) : - SvxRTFParser(rAttrPool, rIn, nullptr), + SvxRTFParser(rAttrPool, rIn), aCurSel(std::move(aSel)), mpEditEngine(pEditEngine), aRTFMapMode(MapUnit::MapTwip), diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index 188e545d3ac6..9d5a0cf7fe50 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -57,14 +57,12 @@ static rtl_TextEncoding lcl_GetDefaultTextEncodingForRTF() // -------------- Methods -------------------- -SvxRTFParser::SvxRTFParser( SfxItemPool& rPool, SvStream& rIn, - uno::Reference<document::XDocumentProperties> const & i_xDocProps ) +SvxRTFParser::SvxRTFParser( SfxItemPool& rPool, SvStream& rIn ) : SvRTFParser( rIn, 5 ) , aPlainMap(rPool) , aPardMap(rPool) , pInsPos( nullptr ) , pAttrPool( &rPool ) - , m_xDocProps( i_xDocProps ) , pRTFDefaults( nullptr ) , nDfltFont( 0) , bNewDoc( true ) @@ -119,8 +117,6 @@ SvParserState SvxRTFParser::CallParser() bNewGroup = false; nDfltFont = 0; - sBaseURL.clear(); - // generate the correct WhichId table from the set WhichIds. BuildWhichTable(); |