summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-08 10:48:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-08 19:57:01 +0200
commit8536b96ab71bff7c996ad01063c5b514aaf4726f (patch)
treec427cc97661f929e31d7d2126dcc51befbe5e4e2 /svx/source/svdraw/svdograf.cxx
parenta6c9228fd1cf02eb9de5647ee00f6f60680bf44d (diff)
loplugin:singlevalfields
Change-Id: I75554209ad247173381ea96a14c8bf532bed13a8 Reviewed-on: https://gerrit.libreoffice.org/58724 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 2e5f955b0165..6e6e926ba849 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -346,7 +346,6 @@ SdrGrafObj::SdrGrafObj(SdrModel& rSdrModel)
// #i25616#
mbLineIsOutsideGeometry = true;
- mbInsidePaint = false;
// #i25616#
mbSupportTextIndentingOnLineWidthChange = false;
@@ -373,7 +372,6 @@ SdrGrafObj::SdrGrafObj(
// #i25616#
mbLineIsOutsideGeometry = true;
- mbInsidePaint = false;
// #i25616#
mbSupportTextIndentingOnLineWidthChange = false;
@@ -399,7 +397,6 @@ SdrGrafObj::SdrGrafObj(
// #i25616#
mbLineIsOutsideGeometry = true;
- mbInsidePaint = false;
// #i25616#
mbSupportTextIndentingOnLineWidthChange = false;
@@ -909,32 +906,6 @@ SdrGrafObj& SdrGrafObj::operator=( const SdrGrafObj& rObj )
return *this;
}
-basegfx::B2DPolyPolygon SdrGrafObj::TakeXorPoly() const
-{
- if(mbInsidePaint)
- {
- basegfx::B2DPolyPolygon aRetval;
-
- // take grown rectangle
- const sal_Int32 nHalfLineWidth(ImpGetLineWdt() / 2);
- const tools::Rectangle aGrownRect(
- maRect.Left() - nHalfLineWidth,
- maRect.Top() - nHalfLineWidth,
- maRect.Right() + nHalfLineWidth,
- maRect.Bottom() + nHalfLineWidth);
-
- XPolygon aXPoly(ImpCalcXPoly(aGrownRect, GetEckenradius()));
- aRetval.append(aXPoly.getB2DPolygon());
-
- return aRetval;
- }
- else
- {
- // call parent
- return SdrRectObj::TakeXorPoly();
- }
-}
-
sal_uInt32 SdrGrafObj::GetHdlCount() const
{
return 8L;