diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-24 14:48:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-27 05:19:12 +0000 |
commit | d6d1fc2683eeb88a569795e6bd27ad5db035f511 (patch) | |
tree | cc98260f62d71ff5fb4af58d4b7e747e8793f06e /svx/source/svdraw/svdotext.cxx | |
parent | 98747742b20c82382ed16b193e7bec175e905978 (diff) |
loplugin:singlevalfields in svx(part1)
Change-Id: I9f655f0573ea301faa6cb54733832c26864eae4f
Reviewed-on: https://gerrit.libreoffice.org/26639
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index 151ff79730da..5bc0ddc922d1 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -91,18 +91,13 @@ SdrTextObj::SdrTextObj() bTextFrame=false; bPortionInfoChecked=false; bNoShear=false; - bNoRotate=false; bNoMirror=false; bDisableAutoWidthOnDragging=false; mbInEditMode = false; - mbTextHidden = false; mbTextAnimationAllowed = true; maTextEditOffset = Point(0, 0); - // chaining - mbToBeChained = false; - // #i25616# mbSupportTextIndentingOnLineWidthChange = true; mbInDownScale = false; @@ -119,20 +114,15 @@ SdrTextObj::SdrTextObj(const Rectangle& rNewRect) bTextFrame=false; bPortionInfoChecked=false; bNoShear=false; - bNoRotate=false; bNoMirror=false; bDisableAutoWidthOnDragging=false; ImpJustifyRect(maRect); mbInEditMode = false; - mbTextHidden = false; mbTextAnimationAllowed = true; mbInDownScale = false; maTextEditOffset = Point(0, 0); - // chaining - mbToBeChained = false; - // #i25616# mbSupportTextIndentingOnLineWidthChange = true; } @@ -147,19 +137,14 @@ SdrTextObj::SdrTextObj(SdrObjKind eNewTextKind) bTextFrame=true; bPortionInfoChecked=false; bNoShear=true; - bNoRotate=false; bNoMirror=true; bDisableAutoWidthOnDragging=false; mbInEditMode = false; - mbTextHidden = false; mbTextAnimationAllowed = true; mbInDownScale = false; maTextEditOffset = Point(0, 0); - // chaining - mbToBeChained = false; - // #i25616# mbSupportTextIndentingOnLineWidthChange = true; } @@ -175,16 +160,11 @@ SdrTextObj::SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect) bTextFrame=true; bPortionInfoChecked=false; bNoShear=true; - bNoRotate=false; bNoMirror=true; bDisableAutoWidthOnDragging=false; ImpJustifyRect(maRect); - // chaining - mbToBeChained = false; - mbInEditMode = false; - mbTextHidden = false; mbTextAnimationAllowed = true; mbInDownScale = false; maTextEditOffset = Point(0, 0); @@ -1103,7 +1083,6 @@ SdrTextObj& SdrTextObj::operator=(const SdrTextObj& rObj) // Not all of the necessary parameters were copied yet. bNoShear = rObj.bNoShear; - bNoRotate = rObj.bNoRotate; bNoMirror = rObj.bNoMirror; bDisableAutoWidthOnDragging = rObj.bDisableAutoWidthOnDragging; @@ -1528,12 +1507,6 @@ void SdrTextObj::ForceOutlinerParaObject() } } -// chaining -bool SdrTextObj::IsToBeChained() const -{ - return mbToBeChained; -} - TextChain *SdrTextObj::GetTextChain() const { //if (!IsChainable()) |