Kaydet (Commit) 6ef5009d authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code sdr::overlay::OverlayRectangle::setSecondPosition

Change-Id: I566b479a298d7496b1ff766bfbaf0ccde84472aa
üst 7efa467e
......@@ -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; }
......
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment