summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-05-27 11:30:17 +0000
committerHerbert Dürr <hdu@apache.org>2013-05-27 11:30:17 +0000
commit94e218303cdf0fad2862de16bb97063064846059 (patch)
tree00a6c89a14000665e13acccab52f150e01b9fc1e
parent7bae0d96274fa1c57834281495f5710ef3343dc1 (diff)
#i122208# fix sd::TransferableData::Representative's assignment operator
Notes
Notes: prefer: 19232495c4985faf1423075bf8814e786da6ddcd
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx
index c498d7b89143..a5034f6f71ef 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx
@@ -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;
}