summaryrefslogtreecommitdiff
path: root/sc/inc/tabprotection.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-11 14:20:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-11 16:05:49 +0200
commitf477b54e01766fabc0179beec9aa3dc31b5824e2 (patch)
tree99efa8fffed5c397b3dc7974153bb3ffa49c872d /sc/inc/tabprotection.hxx
parent071c117ba551e579962ff5b70f79cb7934d96c77 (diff)
loplugin:moveparam in sc
Change-Id: I4b9d45a6b0231841a5fe00d0193a8530b9e05559 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123389 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/tabprotection.hxx')
-rw-r--r--sc/inc/tabprotection.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx
index 58e92c7a6478..2ff6188154d5 100644
--- a/sc/inc/tabprotection.hxx
+++ b/sc/inc/tabprotection.hxx
@@ -210,7 +210,7 @@ public:
bool isOptionEnabled(Option eOption) const;
void setOption(Option eOption, bool bEnabled);
- void setEnhancedProtection( const ::std::vector< ScEnhancedProtection > & rProt );
+ void setEnhancedProtection( ::std::vector< ScEnhancedProtection > && rProt );
const ::std::vector< ScEnhancedProtection > & getEnhancedProtection() const;
bool updateReference( UpdateRefMode, const ScDocument&, const ScRange& rWhere, SCCOL nDx, SCROW nDy, SCTAB nDz );
bool isBlockEditable( const ScRange& rRange ) const;