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 | |
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')
-rw-r--r-- | include/editeng/numitem.hxx | 1 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 12 | ||||
-rw-r--r-- | include/editeng/unoipset.hxx | 6 |
3 files changed, 5 insertions, 14 deletions
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index bd07c4dfe765..e0fce6abd36e 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -140,7 +140,6 @@ private: OUString sCharStyleName; // Character Style - virtual void NotifyGraphicArrived(); public: explicit SvxNumberFormat( sal_Int16 nNumberingType, SvxNumPositionAndSpaceMode ePositionAndSpaceMode = LABEL_WIDTH_AND_POSITION ); 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 diff --git a/include/editeng/unoipset.hxx b/include/editeng/unoipset.hxx index 43ecb9dea6ce..3bea379195f6 100644 --- a/include/editeng/unoipset.hxx +++ b/include/editeng/unoipset.hxx @@ -37,13 +37,11 @@ class EDITENG_DLLPUBLIC SvxItemPropertySet { SfxItemPropertyMap m_aPropertyMap; mutable com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfo> m_xInfo; - const SfxItemPropertyMapEntry* _pMap; ::std::vector< SvxIDPropertyCombine* > aCombineList; - bool mbConvertTwips; SfxItemPool& mrItemPool; public: - SvxItemPropertySet( const SfxItemPropertyMapEntry *pMap, SfxItemPool& rPool, bool bConvertTwips = false ); + SvxItemPropertySet( const SfxItemPropertyMapEntry *pMap, SfxItemPool& rPool ); ~SvxItemPropertySet(); // Methods, which work directly with the ItemSet @@ -62,8 +60,6 @@ public: com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > getPropertySetInfo() const; const SfxItemPropertyMap& getPropertyMap() const { return m_aPropertyMap;} const SfxItemPropertySimpleEntry* getPropertyMapEntry(const OUString &rName) const; - - static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > getPropertySetInfo( const SfxItemPropertyMapEntry* pMap ); }; /** converts the given any with a metric to 100th/mm if needed */ |