diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-17 09:14:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-17 13:30:50 +0200 |
commit | 006df8a7f77d79d5ab2d8da053552a0ccc3dcd7a (patch) | |
tree | 5dea827bf01d7efc263f69d63d97f8f887def76c /writerfilter/source/dmapper/TDefTableHandler.hxx | |
parent | 71c88f02a019dee180686ac9ec88d8c7c1f7f534 (diff) |
writerfilter: prefer passing OUString by reference
Change-Id: I5f296d4df6c09e88674cf9aa6d1b831ec2b0c2f2
Diffstat (limited to 'writerfilter/source/dmapper/TDefTableHandler.hxx')
-rw-r--r-- | writerfilter/source/dmapper/TDefTableHandler.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/TDefTableHandler.hxx b/writerfilter/source/dmapper/TDefTableHandler.hxx index 3a1c7d7f55b8..cedb63ca8dd6 100644 --- a/writerfilter/source/dmapper/TDefTableHandler.hxx +++ b/writerfilter/source/dmapper/TDefTableHandler.hxx @@ -64,7 +64,7 @@ private: OUString m_aInteropGrabBagName; std::vector<beans::PropertyValue> m_aInteropGrabBag; - void appendGrabBag(OUString aKey, OUString aValue); + void appendGrabBag(const OUString& aKey, const OUString& aValue); void localResolve(Id Name, writerfilter::Reference<Properties>::Pointer_t pProperties); @@ -80,8 +80,8 @@ public: void fillCellProperties( size_t nCell, ::boost::shared_ptr< TablePropertyMap > pCellProperties) const; ::boost::shared_ptr<PropertyMap> getRowProperties() const; sal_Int32 getTableWidth() const; - void enableInteropGrabBag(OUString aName); - beans::PropertyValue getInteropGrabBag(OUString aName = OUString()); + void enableInteropGrabBag(const OUString& aName); + beans::PropertyValue getInteropGrabBag(const OUString& aName = OUString()); static OUString getBorderTypeString(sal_Int32 nType); static OUString getThemeColorTypeString(sal_Int32 nType); }; |