diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 19:59:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-10 21:03:18 +0200 |
commit | f67392948d625db9ce115092e4c9bfd301268a25 (patch) | |
tree | 0bd1490ad019c3c172229e8990c62262c3f557fe /include | |
parent | 210bbdead214531172d74d0d2975f47cf973bc69 (diff) |
loplugin:moveparam in xmloff
Change-Id: I46c1c8dc46cd2b8470b69506f6609f8bd7e42211
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123347
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/xmlaustp.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/xmloff/xmlaustp.hxx b/include/xmloff/xmlaustp.hxx index ed389d9530bb..1adc3b786a91 100644 --- a/include/xmloff/xmlaustp.hxx +++ b/include/xmloff/xmlaustp.hxx @@ -111,13 +111,13 @@ public: css::uno::Sequence<OUString> const & aNames ); /// Add an item set to the pool and return its generated name. - OUString Add( XmlStyleFamily nFamily, const ::std::vector< XMLPropertyState >& rProperties ); - OUString Add( XmlStyleFamily nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties, bool bDontSeek = false ); - bool Add( OUString& rName, XmlStyleFamily nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ); + OUString Add( XmlStyleFamily nFamily, ::std::vector< XMLPropertyState >&& rProperties ); + OUString Add( XmlStyleFamily nFamily, const OUString& rParent, ::std::vector< XMLPropertyState >&& rProperties, bool bDontSeek = false ); + bool Add( OUString& rName, XmlStyleFamily nFamily, const OUString& rParent, ::std::vector< XMLPropertyState >&& rProperties ); /// Add an item set with a pre-defined name (needed for saving sheets separately in Calc). bool AddNamed( const OUString& rName, XmlStyleFamily nFamily, const OUString& rParent, - const ::std::vector< XMLPropertyState >& rProperties ); + std::vector< XMLPropertyState >&& rProperties ); /// Find an item set's name. OUString Find( XmlStyleFamily nFamily, const OUString& rParent, const ::std::vector< XMLPropertyState >& rProperties ) const; |