summaryrefslogtreecommitdiffstats
path: root/filter/inc
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-08-14 10:05:12 +0200
committerDavid Tardon <dtardon@redhat.com>2012-08-14 10:05:47 +0200
commit71248cadf6736fbb14b57e1b3edea0a924781609 (patch)
tree84c3ca1f538f2861c361d4c15ad4c80fe90ed28c /filter/inc
parentImproved pin entry in dialog box -- correct sizing. (diff)
downloadcore-71248cadf6736fbb14b57e1b3edea0a924781609.tar.gz
core-71248cadf6736fbb14b57e1b3edea0a924781609.zip
the copy ctor can take const ref
Change-Id: I4ef23f084d918dbf8227610f64bb7c38680e377a
Diffstat (limited to 'filter/inc')
-rw-r--r--filter/inc/filter/msfilter/svdfppt.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/inc/filter/msfilter/svdfppt.hxx b/filter/inc/filter/msfilter/svdfppt.hxx
index b8d54544ed8b..dba6d37d3060 100644
--- a/filter/inc/filter/msfilter/svdfppt.hxx
+++ b/filter/inc/filter/msfilter/svdfppt.hxx
@@ -945,11 +945,11 @@ struct PPTCharPropSet
void SetColor( sal_uInt32 nColor );
explicit PPTCharPropSet( sal_uInt32 nParagraph );
- PPTCharPropSet( PPTCharPropSet& rCharPropSet );
- PPTCharPropSet( PPTCharPropSet& rCharPropSet, sal_uInt32 nParagraph );
+ PPTCharPropSet( const PPTCharPropSet& rCharPropSet );
+ PPTCharPropSet( const PPTCharPropSet& rCharPropSet, sal_uInt32 nParagraph );
~PPTCharPropSet();
- PPTCharPropSet& operator=( PPTCharPropSet& rCharPropSet );
+ PPTCharPropSet& operator=( const PPTCharPropSet& rCharPropSet );
private:
void ImplMakeUnique();
@@ -1106,12 +1106,12 @@ public:
PPTPortionObj( const PPTStyleSheet&, sal_uInt32 nInstance, sal_uInt32 nDepth );
PPTPortionObj(
- PPTCharPropSet&,
+ const PPTCharPropSet&,
const PPTStyleSheet&,
sal_uInt32 nInstance,
sal_uInt32 nDepth
);
- PPTPortionObj( PPTPortionObj& );
+ PPTPortionObj( const PPTPortionObj& );
~PPTPortionObj();
// the following function should be removed during next full update