diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-22 12:30:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 09:00:18 +0200 |
commit | 222bc56e21356520a55a871c9cdfc26d2fc3fcb2 (patch) | |
tree | 8b68267dcac953d1b519c1fcb21441df2733da1b /include/editeng | |
parent | 6bbda13286c8f736f35ceb7a377ca15b3fd544b2 (diff) |
loplugin:unusedfields in desktop..editeng
Change-Id: Ieea12d0790a1034eba8975fe74fa205f02003b7d
Reviewed-on: https://gerrit.libreoffice.org/39134
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editdata.hxx | 4 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 8 | ||||
-rw-r--r-- | include/editeng/splwrap.hxx | 4 | ||||
-rw-r--r-- | include/editeng/svxrtf.hxx | 3 |
4 files changed, 1 insertions, 18 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx index 7d8e931268c2..6b86c4399002 100644 --- a/include/editeng/editdata.hxx +++ b/include/editeng/editdata.hxx @@ -227,8 +227,6 @@ struct HtmlImportInfo OUString aText; - SfxItemSet* pAttrs; - HtmlImportInfo( HtmlImportState eState, SvParser<HtmlTokenId>* pPrsrs, const ESelection& rSel ); ~HtmlImportInfo(); }; @@ -244,8 +242,6 @@ struct RtfImportInfo OUString aText; - SvxRTFItemStackType* pAttrs; - RtfImportInfo( RtfImportState eState, SvParser<int>* pPrsrs, const ESelection& rSel ); ~RtfImportInfo(); }; diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index d5f5d7e3b9bc..80a16b518037 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -506,7 +506,6 @@ private: sal_Int32 nPara; sal_Int32 nPos; - bool bSimpleClick; EditFieldInfo( const EditFieldInfo& ) = delete; @@ -518,7 +517,7 @@ public: { pOutliner = pOutl; nPara = nPa; nPos = nPo; - pTxtColor = nullptr; pFldColor = nullptr; bSimpleClick = false; + pTxtColor = nullptr; pFldColor = nullptr; mpSdrPage = nullptr; } ~EditFieldInfo() @@ -544,8 +543,6 @@ public: sal_Int32 GetPara() const { return nPara; } sal_Int32 GetPos() const { return nPos; } - void SetSimpleClick( bool bSimple ) { bSimpleClick = bSimple; } - const OUString& GetRepresentation() const { return aRepresentation; } OUString& GetRepresentation() { return aRepresentation; } void SetRepresentation( const OUString& rStr ){ aRepresentation = rStr; } @@ -619,7 +616,6 @@ private: sal_Int32 nDepthChangedHdlPrevDepth; sal_Int16 nMaxDepth; const sal_Int16 nMinDepth; - sal_Int32 nFirstPage; OutlinerMode nOutlinerMode; @@ -808,8 +804,6 @@ public: const Size& GetPaperSize() const; void SetPaperSize( const Size& rSize ); - void SetFirstPageNumber( sal_Int32 n ) { nFirstPage = n; } - void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon ); void SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon); void ClearPolygon(); diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx index 2b1b01b91091..1ef5406bc4ec 100644 --- a/include/editeng/splwrap.hxx +++ b/include/editeng/splwrap.hxx @@ -54,9 +54,7 @@ private: css::uno::XInterface > xLast; // result of last spelling/hyphenation attempt css::uno::Reference< css::linguistic2::XHyphenator > xHyph; - SdrObject* mpTextObj; bool bOtherCntnt : 1; // set => Check special sections initially - bool bDialog : 1; // Is pWin the Svx...Dialog? bool bHyphen : 1; // Split instead of spell checking bool bReverse : 1; // Reverse spell check bool bStartDone : 1; // Beginning already corrected @@ -112,8 +110,6 @@ protected: GetAllRightDic(); virtual void SpellEnd(); // Finish area virtual void InsertHyphen( const sal_Int32 nPos ); // Insert hyphen - - void SetCurTextObj( SdrObject* pObj ) { mpTextObj = pObj; } }; #endif diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx index 5137d1085d6b..126c55a0378a 100644 --- a/include/editeng/svxrtf.hxx +++ b/include/editeng/svxrtf.hxx @@ -101,9 +101,7 @@ struct SvxRTFStyleType SfxItemSet aAttrSet; // the attributes of Style (+ derivate!) OUString sName; sal_uInt16 nBasedOn, nNext; - bool bBasedOnIsSet; sal_uInt8 nOutlineNo; - bool bIsCharFmt; SvxRTFStyleType( SfxItemPool& rPool, const sal_uInt16* pWhichRange ); }; @@ -205,7 +203,6 @@ class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser bool bIsSetDfltTab : 1; // sal_True - DefTab was loaded bool bChkStyleAttr : 1; // sal_True - StyleSheets are evaluated bool bCalcValue : 1; // sal_True - Twip values adapt to App - bool bPardTokenRead : 1; // sal_True - Token \pard was detected bool bReadDocInfo : 1; // sal_True - DocInfo to read bool bIsLeftToRightDef : 1; // sal_True - in LeftToRight char run def. // sal_False - in RightToLeft char run def. |