diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-16 10:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-18 10:03:44 +0000 |
commit | 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch) | |
tree | 66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /editeng | |
parent | 4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdoc.hxx | 10 | ||||
-rw-r--r-- | editeng/source/editeng/editundo.hxx | 3 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 1 | ||||
-rw-r--r-- | editeng/source/outliner/overflowingtxt.cxx | 6 |
4 files changed, 0 insertions, 20 deletions
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) |