diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-12-27 20:28:15 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-12-27 20:30:12 +0100 |
commit | 8068f50276659058ef02958996d8ef84cd89017f (patch) | |
tree | 955c1b8c0988f1711de54afe0e62893e8d2270a0 /sd/source | |
parent | ac9001b5dcc480942c19d9e06ece70cbc24444e1 (diff) |
Fix 'PropEntry::operator=' should return 'PropEntry &'
Change-Id: Id9a772771fe1f1694d1e247c20447461175495ff
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/propread.cxx | 2 | ||||
-rw-r--r-- | sd/source/filter/ppt/propread.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index 893b7307f129..1e698db011bd 100644 --- a/sd/source/filter/ppt/propread.cxx +++ b/sd/source/filter/ppt/propread.cxx @@ -39,7 +39,7 @@ PropEntry::PropEntry( const PropEntry& rProp ) : memcpy( (void*)mpBuf, (void*)rProp.mpBuf, mnSize ); }; -const PropEntry& PropEntry::operator=(const PropEntry& rPropEntry) +PropEntry& PropEntry::operator=(const PropEntry& rPropEntry) { if ( this != &rPropEntry ) { diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx index 9a9077c7b0b2..c983e62c3617 100644 --- a/sd/source/filter/ppt/propread.hxx +++ b/sd/source/filter/ppt/propread.hxx @@ -113,7 +113,7 @@ struct PropEntry PropEntry( const PropEntry& rProp ); ~PropEntry() { delete[] mpBuf; } ; - const PropEntry& operator=(const PropEntry& rPropEntry); + PropEntry& operator=(const PropEntry& rPropEntry); }; class PropItem : public SvMemoryStream |