diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-21 13:42:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-25 15:16:56 +0200 |
commit | 6ef5009defd04273a10d1aa1a3de96eaa0470482 (patch) | |
tree | f31601e913c45eb0b9d6c00fbde95b809ed5c2e9 /svx | |
parent | 7efa467ef31d3f053c79bc189b3dbec957747ae5 (diff) |
remove unused code sdr::overlay::OverlayRectangle::setSecondPosition
Change-Id: I566b479a298d7496b1ff766bfbaf0ccde84472aa
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/overlay/overlayrectangle.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/svx/source/sdr/overlay/overlayrectangle.cxx b/svx/source/sdr/overlay/overlayrectangle.cxx index 4df39c0d1339..557179d15e47 100644 --- a/svx/source/sdr/overlay/overlayrectangle.cxx +++ b/svx/source/sdr/overlay/overlayrectangle.cxx @@ -35,7 +35,7 @@ namespace sdr { drawinglayer::primitive2d::Primitive2DSequence OverlayRectangle::createOverlayObjectPrimitive2DSequence() { - const basegfx::B2DRange aHatchRange(getBasePosition(), getSecondPosition()); + const basegfx::B2DRange aHatchRange(getBasePosition(), maSecondPosition); basegfx::BColor aColor(getBaseColor().getBColor()); static double fChange(0.1); // just small optical change, do not make it annoying @@ -94,18 +94,6 @@ namespace sdr mnBlinkTime = impCheckBlinkTimeValueRange(mnBlinkTime); } - void OverlayRectangle::setSecondPosition(const basegfx::B2DPoint& rNew) - { - if(rNew != maSecondPosition) - { - // remember new value - maSecondPosition = rNew; - - // register change (after change) - objectChange(); - } - } - void OverlayRectangle::Trigger(sal_uInt32 nTime) { if(getOverlayManager()) |