diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-23 14:45:22 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-24 06:44:48 +0000 |
commit | db12f068f849dc0e03d43ee6688ba342e985fa04 (patch) | |
tree | 3a6ac684c7227c65ddc912ef80dd4ca509a92cbe /editeng | |
parent | f02c1ca61c936ad555c33c16ccccadf0ce9674c2 (diff) |
loplugin:singlevalfields in editeng
Change-Id: I99c7ab28be7853535674cd7fab975da4252441f1
Reviewed-on: https://gerrit.libreoffice.org/26600
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/eertfpar.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/eertfpar.hxx | 2 | ||||
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx index 3f81d4d64350..136b903e7bc2 100644 --- a/editeng/source/editeng/eertfpar.cxx +++ b/editeng/source/editeng/eertfpar.cxx @@ -57,11 +57,9 @@ EditRTFParser::EditRTFParser( aRTFMapMode(MAP_TWIP) { aCurSel = aSel; - eDestCharSet = RTL_TEXTENCODING_DONTKNOW; nDefFont = 0; nDefTab = 0; nLastAction = 0; - nDefFontHeight = 0; SetInsPos(EditPosition(mpEditEngine, &aCurSel)); diff --git a/editeng/source/editeng/eertfpar.hxx b/editeng/source/editeng/eertfpar.hxx index 5416dd1acf3c..d58ccb672808 100644 --- a/editeng/source/editeng/eertfpar.hxx +++ b/editeng/source/editeng/eertfpar.hxx @@ -34,13 +34,11 @@ class EditRTFParser : public SvxRTFParser private: EditSelection aCurSel; EditEngine* mpEditEngine; - rtl_TextEncoding eDestCharSet; MapMode aRTFMapMode; MapMode aEditMapMode; sal_uInt16 nDefFont; sal_uInt16 nDefTab; - sal_uInt16 nDefFontHeight; sal_uInt8 nLastAction; protected: diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index c67fc8456f2d..a053a7e08edf 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -1345,7 +1345,6 @@ RTFPlainAttrMapIds::RTFPlainAttrMapIds( const SfxItemPool& rPool ) nCTLWeight = rPool.GetTrueWhich( SID_ATTR_CHAR_CTL_WEIGHT, false ); nEmphasis = rPool.GetTrueWhich( SID_ATTR_CHAR_EMPHASISMARK, false ); nTwoLines = rPool.GetTrueWhich( SID_ATTR_CHAR_TWO_LINES, false ); - nRuby = 0; //rPool.GetTrueWhich( SID_ATTR_CHAR_CJK_RUBY, sal_False ); nCharScaleX = rPool.GetTrueWhich( SID_ATTR_CHAR_SCALEWIDTH, false ); nHorzVert = rPool.GetTrueWhich( SID_ATTR_CHAR_ROTATED, false ); nRelief = rPool.GetTrueWhich( SID_ATTR_CHAR_RELIEF, false ); |