diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-23 09:49:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-24 10:36:20 +0000 |
commit | 38023af6c13602ae1856bea11693c18c0c3efa36 (patch) | |
tree | c17ef3941354f732e2fdd7c3cedb7c649f99e965 /include/editeng/outliner.hxx | |
parent | 2c6ad5343de947f1646536c539b116346adb8fdc (diff) |
loplugin:unusedmethods
Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a
Reviewed-on: https://gerrit.libreoffice.org/17312
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/editeng/outliner.hxx')
-rw-r--r-- | include/editeng/outliner.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 5921122c3f5f..900df4b7e92b 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -733,8 +733,6 @@ public: sal_Int16 GetDepth( sal_Int32 nPara ) const; void SetDepth( Paragraph* pParagraph, sal_Int16 nNewDepth ); - static bool IsVisible( Paragraph* pPara ) { return pPara->IsVisible(); } - void EnableUndo( bool bEnable ); bool IsUndoEnabled() const; void UndoActionStart( sal_uInt16 nId ); @@ -894,7 +892,6 @@ public: void RemoveFields( bool bKeepFieldText, TypeId aType = NULL ); void FieldClicked( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos ); - void FieldSelected( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos ); virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rTxtColor, Color*& rFldColor ); void SetSpeller( ::com::sun::star::uno::Reference< @@ -927,8 +924,8 @@ public: void SetRefDevice( OutputDevice* pRefDev ); OutputDevice* GetRefDevice() const; - sal_uLong GetTextHeight() const; - sal_uLong GetTextHeight( sal_Int32 nParagraph ) const; + sal_uLong GetTextHeight() const; + sal_uLong GetTextHeight( sal_Int32 nParagraph ) const; Point GetDocPosTopLeft( sal_Int32 nParagraph ); Point GetDocPos( const Point& rPaperPos ) const; bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder = 0 ); @@ -943,11 +940,10 @@ public: const EditEngine& GetEditEngine() const; // this is needed for StarOffice Api - void SetLevelDependendStyleSheet( sal_Int32 nPara ); + void SetLevelDependendStyleSheet( sal_Int32 nPara ); - sal_uInt16 GetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; } + sal_uInt16 GetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; } - void StartSpelling(EditView& rEditView, bool bMultipleDoc); // spell and return a sentence bool SpellSentence(EditView& rEditView, svx::SpellPortions& rToFill, bool bIsGrammarChecking ); // put spell position to start of current sentence |