diff options
author | Björgvin Ragnarsson <nifgraup@gmail.com> | 2012-02-12 23:54:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-13 15:39:20 +0000 |
commit | a092057d2b8ff8abd1172b4163979ecf799d5888 (patch) | |
tree | 9d2d0bb3c4d76b94813e8150e0c1b8c7b9b7b44c /svx | |
parent | 19d80a257b0e5c9d45985e49f33493f38c5d5f10 (diff) |
Removed unused code.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlaybitmapex.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlayhatchrect.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlayline.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlayobjectlist.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svx/sdr/overlay/overlaytriangle.hxx | 2 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaybitmapex.cxx | 32 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayhatchrect.cxx | 12 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayline.cxx | 12 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 8 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayobjectlist.cxx | 12 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaypolypolygon.cxx | 12 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayrollingrectangle.cxx | 24 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaytriangle.cxx | 24 |
16 files changed, 1 insertions, 148 deletions
diff --git a/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx b/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx index 1892ff2632ec..2183cbf25d83 100644 --- a/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx +++ b/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx @@ -61,11 +61,9 @@ namespace sdr virtual ~OverlayBitmapEx(); const BitmapEx& getBitmapEx() const { return maBitmapEx; } - void setBitmapEx(const BitmapEx& rNew); sal_uInt16 getCenterX() const { return mnCenterX; } sal_uInt16 getCenterY() const { return mnCenterY; } - void setCenterXY(sal_uInt16 nNewX, sal_uInt16 nNewY); }; } // end of namespace overlay } // end of namespace sdr diff --git a/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx b/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx index cd1bcb4da127..4003214488d6 100644 --- a/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx +++ b/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx @@ -64,7 +64,6 @@ namespace sdr double fRotation); const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; } - void setSecondPosition(const basegfx::B2DPoint&); // data read access double getDiscreteGrow() const { return mfDiscreteGrow; } diff --git a/svx/inc/svx/sdr/overlay/overlayline.hxx b/svx/inc/svx/sdr/overlay/overlayline.hxx index fc235b70b241..4777218750c6 100644 --- a/svx/inc/svx/sdr/overlay/overlayline.hxx +++ b/svx/inc/svx/sdr/overlay/overlayline.hxx @@ -54,7 +54,6 @@ namespace sdr // change second position const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; } - void setSecondPosition(const basegfx::B2DPoint& rNew); // react on stripe definition change virtual void stripeDefinitionHasChanged(); diff --git a/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx b/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx index 0d0a1a5d8d26..8264f2318092 100644 --- a/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx +++ b/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx @@ -102,7 +102,6 @@ namespace sdr // access to RefreshWithPreRendering Flag bool DoRefreshWithPreRendering() const { return mbRefreshWithPreRendering; } - void SetRefreshWithPreRendering(bool bNew); }; } // end of namespace overlay } // end of namespace sdr diff --git a/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx b/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx index 43374b9ac359..dcc641e4dcf7 100644 --- a/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx +++ b/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx @@ -59,9 +59,8 @@ namespace sdr // clear list, this includes deletion of all contained objects void clear(); - // append/remove objects + // append objects void append(OverlayObject& rOverlayObject) { maVector.push_back(&rOverlayObject); } - void remove(OverlayObject& rOverlayObject); // access to objects sal_uInt32 count() const { return maVector.size(); } diff --git a/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx b/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx index 3622e7322df5..adf481669374 100644 --- a/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx +++ b/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx @@ -53,7 +53,6 @@ namespace sdr // change geometry basegfx::B2DPolyPolygon getPolyPolygon() const { return maPolyPolygon; } - void setPolyPolygon(const basegfx::B2DPolyPolygon& rNew); // react on stripe definition change virtual void stripeDefinitionHasChanged(); diff --git a/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx b/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx index 5a0b7adb1921..e785be5f660a 100644 --- a/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx +++ b/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx @@ -67,11 +67,9 @@ namespace sdr // change extended lines bool getExtendedLines() const { return mbExtendedLines; } - void setExtendedLines(bool bNew); // change show bounds bool getShowBounds() const { return mbShowBounds; } - void setShowBounds(bool bNew); // react on stripe definition change virtual void stripeDefinitionHasChanged(); diff --git a/svx/inc/svx/sdr/overlay/overlaytriangle.hxx b/svx/inc/svx/sdr/overlay/overlaytriangle.hxx index 25e942908075..fc876be5914a 100644 --- a/svx/inc/svx/sdr/overlay/overlaytriangle.hxx +++ b/svx/inc/svx/sdr/overlay/overlaytriangle.hxx @@ -57,11 +57,9 @@ namespace sdr // change second position const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; } - void setSecondPosition(const basegfx::B2DPoint& rNew); // change third position const basegfx::B2DPoint& getThirdPosition() const { return maThirdPosition; } - void setThirdPosition(const basegfx::B2DPoint& rNew); }; } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlaybitmapex.cxx b/svx/source/sdr/overlay/overlaybitmapex.cxx index dc108ac2055e..953a405f9bc3 100644 --- a/svx/source/sdr/overlay/overlaybitmapex.cxx +++ b/svx/source/sdr/overlay/overlaybitmapex.cxx @@ -73,38 +73,6 @@ namespace sdr OverlayBitmapEx::~OverlayBitmapEx() { } - - void OverlayBitmapEx::setBitmapEx(const BitmapEx& rNew) - { - if(rNew != maBitmapEx) - { - // remember new Bitmap - maBitmapEx = rNew; - - // register change (after change) - objectChange(); - } - } - - void OverlayBitmapEx::setCenterXY(sal_uInt16 nNewX, sal_uInt16 nNewY) - { - if(nNewX != mnCenterX || nNewY != mnCenterY) - { - // remember new values - if(nNewX != mnCenterX) - { - mnCenterX = nNewX; - } - - if(nNewY != mnCenterY) - { - mnCenterY = nNewY; - } - - // register change (after change) - objectChange(); - } - } } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlayhatchrect.cxx b/svx/source/sdr/overlay/overlayhatchrect.cxx index 6b0d6f23ff0e..eed4dd26d6f3 100644 --- a/svx/source/sdr/overlay/overlayhatchrect.cxx +++ b/svx/source/sdr/overlay/overlayhatchrect.cxx @@ -74,18 +74,6 @@ namespace sdr mfRotation(fRotation) { } - - void OverlayHatchRect::setSecondPosition(const basegfx::B2DPoint& rNew) - { - if(rNew != maSecondPosition) - { - // remember new value - maSecondPosition = rNew; - - // register change (after change) - objectChange(); - } - } } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlayline.cxx b/svx/source/sdr/overlay/overlayline.cxx index 57b14c175e22..064c4fc7e77b 100644 --- a/svx/source/sdr/overlay/overlayline.cxx +++ b/svx/source/sdr/overlay/overlayline.cxx @@ -87,18 +87,6 @@ namespace sdr OverlayLineStriped::~OverlayLineStriped() { } - - void OverlayLineStriped::setSecondPosition(const basegfx::B2DPoint& rNew) - { - if(rNew != maSecondPosition) - { - // remember new value - maSecondPosition = rNew; - - // register change (after change) - objectChange(); - } - } } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index c5281b085aca..1a0016fa6b37 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -500,14 +500,6 @@ namespace sdr } } } - - void OverlayManagerBuffered::SetRefreshWithPreRendering(bool bNew) - { - if((bool)mbRefreshWithPreRendering != bNew) - { - mbRefreshWithPreRendering = bNew; - } - } } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlayobjectlist.cxx b/svx/source/sdr/overlay/overlayobjectlist.cxx index ea94f3c36424..87151071a154 100644 --- a/svx/source/sdr/overlay/overlayobjectlist.cxx +++ b/svx/source/sdr/overlay/overlayobjectlist.cxx @@ -67,18 +67,6 @@ namespace sdr maVector.clear(); } - void OverlayObjectList::remove(OverlayObject& rOverlayObject) - { - const OverlayObjectVector::iterator aFindResult = ::std::find(maVector.begin(), maVector.end(), &rOverlayObject); - const bool bFound(aFindResult != maVector.end()); - OSL_ENSURE(bFound, "Could not find given object in list (!)"); - - if(bFound) - { - maVector.erase(aFindResult); - } - } - bool OverlayObjectList::isHitLogic(const basegfx::B2DPoint& rLogicPosition, double fLogicTolerance) const { if(!maVector.empty()) diff --git a/svx/source/sdr/overlay/overlaypolypolygon.cxx b/svx/source/sdr/overlay/overlaypolypolygon.cxx index 9e52b63d57c5..5dd6c92de229 100644 --- a/svx/source/sdr/overlay/overlaypolypolygon.cxx +++ b/svx/source/sdr/overlay/overlaypolypolygon.cxx @@ -79,18 +79,6 @@ namespace sdr OverlayPolyPolygonStriped::~OverlayPolyPolygonStriped() { } - - void OverlayPolyPolygonStriped::setPolyPolygon(const basegfx::B2DPolyPolygon& rNew) - { - if(rNew != maPolyPolygon) - { - // remember new value - maPolyPolygon = rNew; - - // register change (after change) - objectChange(); - } - } } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlayrollingrectangle.cxx b/svx/source/sdr/overlay/overlayrollingrectangle.cxx index db6fadc4eedc..7c94256aa7bd 100644 --- a/svx/source/sdr/overlay/overlayrollingrectangle.cxx +++ b/svx/source/sdr/overlay/overlayrollingrectangle.cxx @@ -118,30 +118,6 @@ namespace sdr objectChange(); } } - - void OverlayRollingRectangleStriped::setExtendedLines(bool bNew) - { - if(bNew != (bool)mbExtendedLines) - { - // remember new value - mbExtendedLines = bNew; - - // register change (after change) - objectChange(); - } - } - - void OverlayRollingRectangleStriped::setShowBounds(bool bNew) - { - if(bNew != (bool)mbShowBounds) - { - // remember new value - mbShowBounds = bNew; - - // register change (after change) - objectChange(); - } - } } // end of namespace overlay } // end of namespace sdr diff --git a/svx/source/sdr/overlay/overlaytriangle.cxx b/svx/source/sdr/overlay/overlaytriangle.cxx index 94080a5d4b4a..e245f560b752 100644 --- a/svx/source/sdr/overlay/overlaytriangle.cxx +++ b/svx/source/sdr/overlay/overlaytriangle.cxx @@ -74,30 +74,6 @@ namespace sdr OverlayTriangle::~OverlayTriangle() { } - - void OverlayTriangle::setSecondPosition(const basegfx::B2DPoint& rNew) - { - if(rNew != maSecondPosition) - { - // remember new value - maSecondPosition = rNew; - - // register change (after change) - objectChange(); - } - } - - void OverlayTriangle::setThirdPosition(const basegfx::B2DPoint& rNew) - { - if(rNew != maThirdPosition) - { - // remember new value - maThirdPosition = rNew; - - // register change (after change) - objectChange(); - } - } } // end of namespace overlay } // end of namespace sdr |