summaryrefslogtreecommitdiffstats
path: root/include/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 19:59:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-10 21:03:18 +0200
commitf67392948d625db9ce115092e4c9bfd301268a25 (patch)
tree0bd1490ad019c3c172229e8990c62262c3f557fe /include/xmloff
parentgtk4: popdown context menu when radio/check is toggled (diff)
downloadcore-f67392948d625db9ce115092e4c9bfd301268a25.tar.gz
core-f67392948d625db9ce115092e4c9bfd301268a25.zip
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/xmloff')
-rw-r--r--include/xmloff/xmlaustp.hxx8
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;