[Libreoffice-commits] core.git: sc/inc sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 17 10:13:18 UTC 2018
sc/inc/refhint.hxx | 4 ++--
sc/source/filter/inc/formulabase.hxx | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit c0baf66fcf5175af12df227a090ae5d2b4bdb680
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Oct 17 09:27:27 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Oct 17 12:12:23 2018 +0200
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 at redhat.com>
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. */
More information about the Libreoffice-commits
mailing list