diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-24 13:49:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-24 14:20:25 +0200 |
commit | e78bb6d545e4dc86ebc17fbeb735f32fa5914bd1 (patch) | |
tree | edce7c82d76e6fad3313d3619b06895f9cbe4436 /include/editeng | |
parent | 509907cea798cc74fbc6d91ce41105c52f41ba06 (diff) |
loplugin:unusedfields in include/comphelper,include/editeng
Change-Id: I619c2cf1765df97159fc52ee84e0e9e8d16a22fe
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editdata.hxx | 5 | ||||
-rw-r--r-- | include/editeng/eedata.hxx | 11 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 16 | ||||
-rw-r--r-- | include/editeng/splwrap.hxx | 1 | ||||
-rw-r--r-- | include/editeng/svxrtf.hxx | 1 |
5 files changed, 5 insertions, 29 deletions
diff --git a/include/editeng/editdata.hxx b/include/editeng/editdata.hxx index e92101c86101..33de259fc6c2 100644 --- a/include/editeng/editdata.hxx +++ b/include/editeng/editdata.hxx @@ -274,15 +274,12 @@ struct MoveParagraphsInfo { nStartPara = nS; nEndPara = nE; nDestPara = nD; } }; -enum class PasteOrDropInfosAction { PASTE=1, DROP=2 }; - struct PasteOrDropInfos { - PasteOrDropInfosAction nAction; sal_Int32 nStartPara; sal_Int32 nEndPara; - PasteOrDropInfos(PasteOrDropInfosAction _nAction) : nAction(_nAction), nStartPara(-1), nEndPara(-1) {} + PasteOrDropInfos() : nStartPara(-1), nEndPara(-1) {} }; enum EENotifyType diff --git a/include/editeng/eedata.hxx b/include/editeng/eedata.hxx index 321cf04e43e7..0eef2bd29bd1 100644 --- a/include/editeng/eedata.hxx +++ b/include/editeng/eedata.hxx @@ -49,17 +49,6 @@ namespace EEngineData EndOfSentence = 2 }; - class TextMarkingClass - { - public: - TextMarkingType eType; - sal_Int32 nIndex; - - TextMarkingClass(TextMarkingType eT, sal_Int32 nI) : eType(eT), nIndex(nI) {} - }; - - typedef std::vector< TextMarkingClass > TextMarkingVector; - } // end of namespace EditEngine #endif // INCLUDED_EDITENG_EEDATA_HXX diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 19ae9178d2e4..26261d2e09c3 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -394,7 +394,6 @@ public: sal_Int32 mnTextStart; sal_Int32 mnTextLen; sal_Int32 mnPara; - sal_Int32 mnIndex; const SvxFont& mrFont; const long* mpDXArray; @@ -423,7 +422,6 @@ public: sal_Int32 nTxtLen, const SvxFont& rFnt, sal_Int32 nPar, - sal_Int32 nIdx, const long* pDXArr, const EEngineData::WrongSpellVector* pWrongSpellVector, const SvxFieldData* pFieldData, @@ -441,7 +439,6 @@ public: mnTextStart(nTxtStart), mnTextLen(nTxtLen), mnPara(nPar), - mnIndex(nIdx), mrFont(rFnt), mpDXArray(pDXArr), mpWrongSpellVector(pWrongSpellVector), @@ -478,14 +475,11 @@ public: struct EDITENG_DLLPUBLIC PaintFirstLineInfo { sal_Int32 mnPara; - short mnOrientation; const Point& mrStartPos; - long mnBaseLineY; - const Point& mrOrigin; VclPtr<OutputDevice> mpOutDev; - PaintFirstLineInfo( sal_Int32 nPara, const Point& rStartPos, long nBaseLineY, const Point& rOrigin, short nOrientation, OutputDevice* pOutDev ) - : mnPara( nPara ), mnOrientation( nOrientation ), mrStartPos( rStartPos ), mnBaseLineY( nBaseLineY ), mrOrigin( rOrigin ), mpOutDev( pOutDev ) + PaintFirstLineInfo( sal_Int32 nPara, const Point& rStartPos, OutputDevice* pOutDev ) + : mnPara( nPara ), mrStartPos( rStartPos ), mpOutDev( pOutDev ) {} }; @@ -624,8 +618,6 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster bool bStrippingPortions; bool bPasting; - sal_uLong nDummy; - DECL_LINK_TYPED( ParaVisibleStateChangedHdl, Paragraph&, void ); DECL_LINK_TYPED( BeginMovingParagraphsHdl, MoveParagraphsInfo&, void ); DECL_LINK_TYPED( EndMovingParagraphsHdl, MoveParagraphsInfo&, void ); @@ -841,7 +833,7 @@ public: void DrawingText( const Point& rStartPos, const OUString& rText, sal_Int32 nTextStart, sal_Int32 nTextLen, const long* pDXArray, const SvxFont& rFont, - sal_Int32 nPara, sal_Int32 nIndex, sal_uInt8 nRightToLeft, + sal_Int32 nPara, sal_uInt8 nRightToLeft, const EEngineData::WrongSpellVector* pWrongSpellVector, const SvxFieldData* pFieldData, bool bEndOfLine, @@ -852,7 +844,7 @@ public: const Color& rTextLineColor); void DrawingTab( const Point& rStartPos, long nWidth, const OUString& rChar, - const SvxFont& rFont, sal_Int32 nPara, sal_Int32 nIndex, sal_uInt8 nRightToLeft, + const SvxFont& rFont, sal_Int32 nPara, sal_uInt8 nRightToLeft, bool bEndOfLine, bool bEndOfParagraph, const Color& rOverlineColor, diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx index 821425a37c96..4f3d76240c79 100644 --- a/include/editeng/splwrap.hxx +++ b/include/editeng/splwrap.hxx @@ -60,7 +60,6 @@ private: 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 bAuto : 1; // AutoCorrect available? bool bReverse : 1; // Reverse spell check bool bStartDone : 1; // Beginning already corrected bool bEndDone : 1; // End part already corrected diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx index d521f1f1499f..30b1dfc0ff0e 100644 --- a/include/editeng/svxrtf.hxx +++ b/include/editeng/svxrtf.hxx @@ -184,7 +184,6 @@ struct RTFPardAttrMapIds class EDITENG_DLLPUBLIC SvxRTFParser : public SvRTFParser { - SvStream & rStrm; std::deque< Color* > aColorTbl; SvxRTFFontTbl m_FontTable; SvxRTFStyleTbl m_StyleTable; |