diff options
-rw-r--r-- | include/svx/sdr/overlay/overlayrectangle.hxx | 3 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayrectangle.cxx | 14 |
2 files changed, 1 insertions, 16 deletions
diff --git a/include/svx/sdr/overlay/overlayrectangle.hxx b/include/svx/sdr/overlay/overlayrectangle.hxx index efbe34441537..36230b4e9c30 100644 --- a/include/svx/sdr/overlay/overlayrectangle.hxx +++ b/include/svx/sdr/overlay/overlayrectangle.hxx @@ -61,9 +61,6 @@ namespace sdr sal_uInt32 nBlinkTime, bool bAnimate); - const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; } - void setSecondPosition(const basegfx::B2DPoint&); - // data read access double getTransparence() const { return mfTransparence; } double getDiscreteGrow() const { return mfDiscreteGrow; } 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()) |