[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Tue Jul 3 09:28:55 UTC 2018
sc/source/ui/formdlg/formdata.cxx | 5 -----
sc/source/ui/inc/formdata.hxx | 4 ++--
2 files changed, 2 insertions(+), 7 deletions(-)
New commits:
commit 322083e0cf1268bc5d40f0d49eb50f00f503ef15
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jul 3 09:52:52 2018 +0200
ScFormEditData copy functions can be deleted
Change-Id: Id6aad74198da68aa6475bcd3b17c993a51ccabe9
Reviewed-on: https://gerrit.libreoffice.org/56846
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sc/source/ui/formdlg/formdata.cxx b/sc/source/ui/formdlg/formdata.cxx
index 3dfb94754fb5..3ab8130d7721 100644
--- a/sc/source/ui/formdlg/formdata.cxx
+++ b/sc/source/ui/formdlg/formdata.cxx
@@ -31,11 +31,6 @@ ScFormEditData::~ScFormEditData()
{
}
-ScFormEditData::ScFormEditData( const ScFormEditData& r ) : formula::FormEditData(r)
-{
- *this = r;
-}
-
void ScFormEditData::SaveValues()
{
Reset();
diff --git a/sc/source/ui/inc/formdata.hxx b/sc/source/ui/inc/formdata.hxx
index b1cd27d711e7..28fa69398a33 100644
--- a/sc/source/ui/inc/formdata.hxx
+++ b/sc/source/ui/inc/formdata.hxx
@@ -39,8 +39,8 @@ public:
virtual void SaveValues() override;
private:
- ScFormEditData( const ScFormEditData& );
-// const ScFormEditData& operator=( const ScFormEditData& r );
+ ScFormEditData(ScFormEditData &) = delete;
+ void operator =(ScFormEditData) = delete;
ScInputHandler* pInputHandler;
ScDocShell* pScDocShell;
More information about the Libreoffice-commits
mailing list