diff options
author | David Tardon <dtardon@redhat.com> | 2013-02-07 12:46:38 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-03-18 12:29:35 +0100 |
commit | d352006d1c746e8d80e210de10ff6ed4476dd94d (patch) | |
tree | 4a0ef90d9af1a791cedcca2abf9969db617bef0c | |
parent | fd4bcc8318ff54b3e2def557347e9853e9733ace (diff) |
use the std signature for operator=
-rw-r--r-- | svx/source/table/svdotable.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index dad9ff02d878..97396a7f3c7e 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -234,7 +234,7 @@ public: void DragEdge( bool mbHorizontal, int nEdge, sal_Int32 nOffset ); - void operator=( const SdrTableObjImpl& rSource ); + SdrTableObjImpl& operator=( const SdrTableObjImpl& rSource ); // XModifyListener virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException); @@ -283,7 +283,7 @@ void SdrTableObjImpl::init( SdrTableObj* pTable, sal_Int32 nColumns, sal_Int32 n // ----------------------------------------------------------------------------- -void SdrTableObjImpl::operator=( const SdrTableObjImpl& rSource ) +SdrTableObjImpl& SdrTableObjImpl::operator=( const SdrTableObjImpl& rSource ) { if (this != &rSource) { @@ -313,6 +313,7 @@ void SdrTableObjImpl::operator=( const SdrTableObjImpl& rSource ) mpTableObj->aRect = mpTableObj->maLogicRect; LayoutTable( mpTableObj->aRect, false, false ); } + return *this; } // ----------------------------------------------------------------------------- |