diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-10 11:24:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-10 11:24:39 +0200 |
commit | 8f703221a0dcc772a6d5f6087c77747c7759d16d (patch) | |
tree | a48bcb91cd5fcf002c8b1662cef92c0acd81ce9a /svx/source/svdraw/svdovirt.cxx | |
parent | 492c1da6be6ed7950bb58bd860748b81b52e7264 (diff) |
Clean up function declarations and some unused functions
Change-Id: Ic720aa7b30bbe56d67e0b65f3e047ad3ae521a97
Diffstat (limited to 'svx/source/svdraw/svdovirt.cxx')
-rw-r--r-- | svx/source/svdraw/svdovirt.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/svx/source/svdraw/svdovirt.cxx b/svx/source/svdraw/svdovirt.cxx index 22c6b38535fc..83cac52987a6 100644 --- a/svx/source/svdraw/svdovirt.cxx +++ b/svx/source/svdraw/svdovirt.cxx @@ -177,20 +177,6 @@ OUString SdrVirtObj::TakeObjNamePlural() const return sName.makeStringAndClear(); } -void operator +=(PolyPolygon& rPoly, const Point& rOfs) -{ - if (rOfs.X()!=0 || rOfs.Y()!=0) { - sal_uInt16 i,j; - for (j=0; j<rPoly.Count(); j++) { - Polygon aP1(rPoly.GetObject(j)); - for (i=0; i<aP1.GetSize(); i++) { - aP1[i]+=rOfs; - } - rPoly.Replace(aP1,j); - } - } -} - basegfx::B2DPolyPolygon SdrVirtObj::TakeXorPoly() const { basegfx::B2DPolyPolygon aPolyPolygon(rRefObj.TakeXorPoly()); |