diff options
Diffstat (limited to 'svx/source/svdraw/svdopath.cxx')
-rwxr-xr-x | svx/source/svdraw/svdopath.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 84f2a6ab65..1f919ed83f 100755 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -1879,11 +1879,18 @@ sal_uInt16 SdrPathObj::GetObjIdentifier() const return sal_uInt16(meKind); } -void SdrPathObj::operator=(const SdrObject& rObj) +SdrPathObj* SdrPathObj::Clone() const { + return CloneHelper< SdrPathObj >(); +} + +SdrPathObj& SdrPathObj::operator=(const SdrPathObj& rObj) +{ + if( this == &rObj ) + return *this; SdrTextObj::operator=(rObj); - SdrPathObj& rPath=(SdrPathObj&)rObj; - maPathPolygon=rPath.GetPathPoly(); + maPathPolygon=rObj.GetPathPoly(); + return *this; } void SdrPathObj::TakeObjNameSingul(XubString& rName) const |