From 8068f50276659058ef02958996d8ef84cd89017f Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 27 Dec 2012 20:28:15 +0100 Subject: Fix 'PropEntry::operator=' should return 'PropEntry &' Change-Id: Id9a772771fe1f1694d1e247c20447461175495ff --- sd/source/filter/ppt/propread.cxx | 2 +- 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 -- cgit