diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-14 18:05:43 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-03-14 18:06:56 +0100 |
commit | 19232495c4985faf1423075bf8814e786da6ddcd (patch) | |
tree | 435ee206c641743f245ea9158a961e6502f0838e /sd/source | |
parent | 4eea4337fb159ec3f21994f600f220632e13d00a (diff) |
operator= should accept const args too to make stl implementations happy
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx b/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx index c0a09e73bfe9..321823f6c14e 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx @@ -52,7 +52,7 @@ public: : maBitmap(rBitmap), mbIsExcluded(bIsExcluded) {} Representative (const Representative& rOther) : maBitmap(rOther.maBitmap), mbIsExcluded(rOther.mbIsExcluded) {} - Representative operator= (Representative& rOther) + Representative operator= (Representative const& rOther) { if (&rOther != this) {maBitmap = rOther.maBitmap; mbIsExcluded = rOther.mbIsExcluded; } return *this; } |