summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-03-14 18:05:43 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-03-14 18:06:56 +0100
commit19232495c4985faf1423075bf8814e786da6ddcd (patch)
tree435ee206c641743f245ea9158a961e6502f0838e /sd
parent4eea4337fb159ec3f21994f600f220632e13d00a (diff)
operator= should accept const args too to make stl implementations happy
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsTransferable.hxx2
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;
}