From 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 May 2016 10:11:04 +0200 Subject: update unusedmethods plugin to deal with constructors and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/editeng/editdoc.hxx | 10 ---------- editeng/source/editeng/editundo.hxx | 3 --- editeng/source/editeng/impedit.hxx | 1 - editeng/source/outliner/overflowingtxt.cxx | 6 ------ 4 files changed, 20 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx index d0525517dfd5..93b9495a49be 100644 --- a/editeng/source/editeng/editdoc.hxx +++ b/editeng/source/editeng/editdoc.hxx @@ -381,16 +381,6 @@ private: sal_Unicode nExtraValue; - TextPortion() - : pExtraInfos( nullptr ) - , nLen( 0 ) - , aOutSz() - , nKind( PortionKind::TEXT ) - , nRightToLeftLevel( 0 ) - , nExtraValue( 0 ) - { - } - public: TextPortion( sal_Int32 nL ) : pExtraInfos( nullptr ) diff --git a/editeng/source/editeng/editundo.hxx b/editeng/source/editeng/editundo.hxx index 4af7d38607be..5efcfd02d58d 100644 --- a/editeng/source/editeng/editundo.hxx +++ b/editeng/source/editeng/editundo.hxx @@ -124,9 +124,6 @@ private: public: EditUndoRemoveChars(EditEngine* pEE, const EPaM& rEPaM, const OUString& rStr); - const EPaM& GetEPaM() { return aEPaM; } - OUString & GetStr() { return aText; } - virtual void Undo() override; virtual void Redo() override; }; diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 52c4c0ac5ed2..d374d5c8b2bb 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -685,7 +685,6 @@ private: SpellInfo * CreateSpellInfo( bool bMultipleDocs ); - ImpEditEngine(); // disabled ImpEditEngine(EditEngine* pEditEngine, SfxItemPool* pPool); void InitDoc(bool bKeepParaAttribs); EditDoc& GetEditDoc() { return aEditDoc; } diff --git a/editeng/source/outliner/overflowingtxt.cxx b/editeng/source/outliner/overflowingtxt.cxx index fd565a4df953..1b98adea6e99 100644 --- a/editeng/source/outliner/overflowingtxt.cxx +++ b/editeng/source/outliner/overflowingtxt.cxx @@ -114,12 +114,6 @@ OverflowingText::OverflowingText(css::uno::Reference< css::datatransfer::XTransf // class NonOverflowingText -NonOverflowingText::NonOverflowingText(const EditTextObject * /*pTObj*/, bool bLastParaInterrupted) - : mbLastParaInterrupted(bLastParaInterrupted) -{ - // XXX: may have to delete pTObj -} - NonOverflowingText::NonOverflowingText(const ESelection &aSel, bool bLastParaInterrupted) : maContentSel(aSel) , mbLastParaInterrupted(bLastParaInterrupted) -- cgit