diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-09 11:25:13 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-09 11:25:24 +0300 |
commit | dcb2fbdae5d696a2f41ae18617c0e2c52b2e8cb3 (patch) | |
tree | c494d0def08695b094b4957179bf5b1c8b6ea40b /writerfilter | |
parent | d910a5149877b65f471c9404b6c407566d486626 (diff) |
WaE: passing OUString by value, rather pass by reference
Change-Id: I2577234385257ed0512403e5c9e34aa71ed5ce1f
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 3 | ||||
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 57261fc7adab..e9b350c25d0d 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -130,7 +130,8 @@ struct FieldConversion typedef ::std::map< OUString, FieldConversion> FieldConversionMap_t; -uno::Any FloatingTableInfo::getPropertyValue(OUString propertyName){ +uno::Any FloatingTableInfo::getPropertyValue(const OUString &propertyName) +{ beans::PropertyValue* pFrameProperties = m_aFrameProperties.getArray(); for( int i = 0 ; i < m_aFrameProperties.getLength(); i++ ) diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.hxx b/writerfilter/source/dmapper/DomainMapper_Impl.hxx index acd2898d1ea9..dfbddaa5d274 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.hxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.hxx @@ -286,7 +286,7 @@ struct FloatingTableInfo m_nTableWidth(nTableWidth) { } - uno::Any getPropertyValue(OUString propertyName); + uno::Any getPropertyValue(const OUString &propertyName); }; class DomainMapper; |