diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 15:33:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:40 +0200 |
commit | 89fa923a28fb351bb4faad1f69ca94d17f8a5b06 (patch) | |
tree | 55472b67e354712f0f8f6fd0b54a248a0f71018d /sw/source/filter/xml/xmlimpit.hxx | |
parent | d1f6f79d0df21c2bb3be9d191233eabf22afb14e (diff) |
loplugin:passstuffbyref in sw
Change-Id: I124bdd4f28c7d7508e77b902dfa23c398454bf38
Diffstat (limited to 'sw/source/filter/xml/xmlimpit.hxx')
-rw-r--r-- | sw/source/filter/xml/xmlimpit.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlimpit.hxx b/sw/source/filter/xml/xmlimpit.hxx index 0a959a757e83..0a5231a20790 100644 --- a/sw/source/filter/xml/xmlimpit.hxx +++ b/sw/source/filter/xml/xmlimpit.hxx @@ -71,7 +71,7 @@ public: SvXMLUnitConverter const& rUnitConverter) const; virtual void setMapEntries( SvXMLItemMapEntriesRef rMapEntries ); - inline SvXMLItemMapEntriesRef getMapEntries() const; + inline const SvXMLItemMapEntriesRef& getMapEntries() const; /** This method is called for every item that should be set based upon an XML attribute value. */ @@ -82,7 +82,7 @@ public: const SvXMLUnitConverter& rUnitConverter ); }; -inline SvXMLItemMapEntriesRef +inline const SvXMLItemMapEntriesRef& SvXMLImportItemMapper::getMapEntries() const { return mrMapEntries; |