diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 14:12:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-13 09:37:13 +0200 |
commit | 593515e529d75f08f4d3766dac78b1792aea4be4 (patch) | |
tree | a82b7d8b52106727304b092273e3b8cc7c9175d0 /include/editeng/outliner.hxx | |
parent | ee094bd46f55118993c72af719dc046476f9f311 (diff) |
loplugin:staticmethods
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
Diffstat (limited to 'include/editeng/outliner.hxx')
-rw-r--r-- | include/editeng/outliner.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index b973e64e1d79..cc00d310e555 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -743,7 +743,7 @@ public: sal_Int16 GetDepth( sal_Int32 nPara ) const; void SetDepth( Paragraph* pParagraph, sal_Int16 nNewDepth ); - bool IsVisible( Paragraph* pPara ) const { return pPara->IsVisible(); } + static bool IsVisible( Paragraph* pPara ) { return pPara->IsVisible(); } void EnableUndo( bool bEnable ); bool IsUndoEnabled() const; @@ -887,7 +887,7 @@ public: bool Collapse( Paragraph* ); void SetParaFlag( Paragraph* pPara, ParaFlag nFlag ); - bool HasParaFlag( const Paragraph* pPara, ParaFlag nFlag ) const; + static bool HasParaFlag( const Paragraph* pPara, ParaFlag nFlag ); // Returns an array containing the widths of the Bullet Indentations // Last value must be -1. Is deleted by the outliner. @@ -936,7 +936,7 @@ public: void SetHyphenator( ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenator >& xHyph ); - void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars ); + static void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars ); // Deprecated void SetDefaultLanguage( LanguageType eLang ); |