summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfreferenceproperties.cxx10
-rw-r--r--writerfilter/source/rtftok/rtfreferenceproperties.hxx4
2 files changed, 7 insertions, 7 deletions
diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.cxx b/writerfilter/source/rtftok/rtfreferenceproperties.cxx
index 7f43c5e376d0..3a00fd32aebe 100644
--- a/writerfilter/source/rtftok/rtfreferenceproperties.cxx
+++ b/writerfilter/source/rtftok/rtfreferenceproperties.cxx
@@ -14,14 +14,14 @@ namespace writerfilter
namespace rtftok
{
-RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes, RTFSprms aSprms)
- : m_aAttributes(aAttributes),
- m_aSprms(aSprms)
+RTFReferenceProperties::RTFReferenceProperties(const RTFSprms& rAttributes, const RTFSprms& rSprms)
+ : m_aAttributes(rAttributes),
+ m_aSprms(rSprms)
{
}
-RTFReferenceProperties::RTFReferenceProperties(RTFSprms aAttributes)
- : m_aAttributes(aAttributes)
+RTFReferenceProperties::RTFReferenceProperties(const RTFSprms& rAttributes)
+ : m_aAttributes(rAttributes)
{
}
diff --git a/writerfilter/source/rtftok/rtfreferenceproperties.hxx b/writerfilter/source/rtftok/rtfreferenceproperties.hxx
index caffc32e5244..192a439b6916 100644
--- a/writerfilter/source/rtftok/rtfreferenceproperties.hxx
+++ b/writerfilter/source/rtftok/rtfreferenceproperties.hxx
@@ -21,8 +21,8 @@ class RTFReferenceProperties
: public writerfilter::Reference<Properties>
{
public:
- RTFReferenceProperties(RTFSprms rAttributes, RTFSprms rSprms);
- explicit RTFReferenceProperties(RTFSprms rAttributes);
+ RTFReferenceProperties(const RTFSprms& rAttributes, const RTFSprms& rSprms);
+ explicit RTFReferenceProperties(const RTFSprms& rAttributes);
virtual ~RTFReferenceProperties();
virtual void resolve(Properties& rHandler) override;
RTFSprms& getAttributes()