diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-10-17 09:27:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-10-17 12:12:23 +0200 |
commit | c0baf66fcf5175af12df227a090ae5d2b4bdb680 (patch) | |
tree | 04751564f472767edfc01631577fc342b1349aa9 /sc | |
parent | ef5b895afe63eae029363ddb5d7960d7e34e5e35 (diff) |
Silence more Clang trunk -Wdefaulted-function-deleted
...similar to 3db830d354de80b319fb818a0373365a1e647264 "Silence new Clang trunk
-Wdefaulted-function-deleted", after fb1d3b580763a333bbbfe115d09e1b5cd8849675
"loplugin:constfields in sc"
Change-Id: I8358e862e53dd8f57169ba2d2f2c543edb93e2a5
Reviewed-on: https://gerrit.libreoffice.org/61867
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/refhint.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/inc/formulabase.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx index 2e32519011a7..44e63fbb34ba 100644 --- a/sc/inc/refhint.hxx +++ b/sc/inc/refhint.hxx @@ -41,8 +41,8 @@ public: RefHint(RefHint const &) = default; RefHint(RefHint &&) = default; - RefHint & operator =(RefHint const &) = default; - RefHint & operator =(RefHint &&) = default; + RefHint & operator =(RefHint const &) = delete; + RefHint & operator =(RefHint &&) = delete; Type getType() const; }; diff --git a/sc/source/filter/inc/formulabase.hxx b/sc/source/filter/inc/formulabase.hxx index 0ca479d88006..90bc51632bf5 100644 --- a/sc/source/filter/inc/formulabase.hxx +++ b/sc/source/filter/inc/formulabase.hxx @@ -540,8 +540,8 @@ public: FunctionProvider(FunctionProvider const &) = default; FunctionProvider(FunctionProvider &&) = default; - FunctionProvider & operator =(FunctionProvider const &) = default; - FunctionProvider & operator =(FunctionProvider &&) = default; + FunctionProvider & operator =(FunctionProvider const &) = delete; + FunctionProvider & operator =(FunctionProvider &&) = delete; /** Returns the function info for an OOXML function name, or 0 on error. */ const FunctionInfo* getFuncInfoFromOoxFuncName( const OUString& rFuncName ) const; @@ -582,8 +582,8 @@ public: OpCodeProvider(OpCodeProvider const &) = default; OpCodeProvider(OpCodeProvider &&) = default; - OpCodeProvider & operator =(OpCodeProvider const &) = default; - OpCodeProvider & operator =(OpCodeProvider &&) = default; + OpCodeProvider & operator =(OpCodeProvider const &) = delete; + OpCodeProvider & operator =(OpCodeProvider &&) = delete; /** Returns the structure containing all token op-codes for operators and special tokens used by the Calc document and its formula parser. */ |