Author: hdu Date: Mon May 27 11:30:17 2013 New Revision: 1486584 URL: http://svn.apache.org/r1486584 Log: #i122208# fix sd::TransferableData::Representative's assignment operator
Modified: openoffice/trunk/main/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx Modified: openoffice/trunk/main/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx?rev=1486584&r1=1486583&r2=1486584&view=diff ============================================================================== --- openoffice/trunk/main/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx (original) +++ openoffice/trunk/main/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx Mon May 27 11:30:17 2013 @@ -50,7 +50,7 @@ public: : maBitmap(rBitmap), mbIsExcluded(bIsExcluded) {} Representative (const Representative& rOther) : maBitmap(rOther.maBitmap), mbIsExcluded(rOther.mbIsExcluded) {} - Representative operator= (Representative& rOther) + Representative operator=( const Representative& rOther) { if (&rOther != this) {maBitmap = rOther.maBitmap; mbIsExcluded = rOther.mbIsExcluded; } return *this; }