summaryrefslogtreecommitdiff
path: root/svx/source/table/svdotable.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/table/svdotable.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/table/svdotable.cxx')
-rw-r--r--svx/source/table/svdotable.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 98ff74e07471..422755b414a6 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -1338,9 +1338,6 @@ void SdrTableObj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const
// allow transparence
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 =false;
rInfo.bEdgeRadiusAllowed=false;
rInfo.bCanConvToPath =false;