summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 12:09:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 08:42:41 +0200
commit742c0838f29bd09505e2cb9ca35debf401c18c23 (patch)
treea224af9ead35435e613ac03c03ee0f74173c01e5 /svx/source/svdraw/svdotext.cxx
parent528632660b72b105345945c13c5b68060d94a91b (diff)
loplugin:unusedfields in svx part1
Change-Id: I6621e0dda5a5dc3e68c7b1613975c075e2879912 Reviewed-on: https://gerrit.libreoffice.org/39006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r--svx/source/svdraw/svdotext.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 3ee0475d31f9..d6226922ed9d 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -89,7 +89,6 @@ SdrTextObj::SdrTextObj()
{
bTextSizeDirty=false;
bTextFrame=false;
- bPortionInfoChecked=false;
bNoShear=false;
bNoMirror=false;
bDisableAutoWidthOnDragging=false;
@@ -112,7 +111,6 @@ SdrTextObj::SdrTextObj(const tools::Rectangle& rNewRect)
{
bTextSizeDirty=false;
bTextFrame=false;
- bPortionInfoChecked=false;
bNoShear=false;
bNoMirror=false;
bDisableAutoWidthOnDragging=false;
@@ -135,7 +133,6 @@ SdrTextObj::SdrTextObj(SdrObjKind eNewTextKind)
{
bTextSizeDirty=false;
bTextFrame=true;
- bPortionInfoChecked=false;
bNoShear=true;
bNoMirror=true;
bDisableAutoWidthOnDragging=false;
@@ -158,7 +155,6 @@ SdrTextObj::SdrTextObj(SdrObjKind eNewTextKind, const tools::Rectangle& rNewRect
{
bTextSizeDirty=false;
bTextFrame=true;
- bPortionInfoChecked=false;
bNoShear=true;
bNoMirror=true;
bDisableAutoWidthOnDragging=false;
@@ -428,9 +424,6 @@ void SdrTextObj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const
// allow transparency
rInfo.bTransparenceAllowed = true;
- // gradient depends on fillstyle
- drawing::FillStyle eFillStyle = static_cast<const XFillStyleItem&>(GetObjectItem(XATTR_FILLSTYLE)).GetValue();
- rInfo.bGradientAllowed = (eFillStyle == drawing::FillStyle_GRADIENT);
rInfo.bShearAllowed =bNoTextFrame;
rInfo.bEdgeRadiusAllowed=true;
bool bCanConv=ImpCanConvTextToCurve();