summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-06-28 10:23:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 14:20:44 +0200
commit594331cc811fb9a684b5f1c871b679444b8cd51d (patch)
tree56a26754e766bf6a8b0dc67bbe9e3597d9b8fd2f /forms
parent8a6ed98b00cb91dbe5b807051715858a2dc90883 (diff)
remove default-able copy ctors and copy operators
The implicit defined ctors and operators will copy all members (and bases). Since C++11 implicit copy is depreciated if there is a non-default dtor, keep such copies. This commit includes only types that had either copy ctor or copy operator and were found by cppcheck. Change-Id: I93ee687fb3b3c5884f475a2c6054955cdde57ed7 Reviewed-on: https://gerrit.libreoffice.org/39351 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/GroupManager.cxx8
-rw-r--r--forms/source/component/GroupManager.hxx1
2 files changed, 0 insertions, 9 deletions
diff --git a/forms/source/component/GroupManager.cxx b/forms/source/component/GroupManager.cxx
index 3444686670cd..a925e66551e4 100644
--- a/forms/source/component/GroupManager.cxx
+++ b/forms/source/component/GroupManager.cxx
@@ -82,14 +82,6 @@ OGroupComp::OGroupComp()
{
}
-OGroupComp::OGroupComp(const OGroupComp& _rSource)
- :m_xComponent( _rSource.m_xComponent )
- ,m_xControlModel(_rSource.m_xControlModel)
- ,m_nPos( _rSource.m_nPos )
- ,m_nTabIndex( _rSource.m_nTabIndex )
-{
-}
-
OGroupComp::OGroupComp(const Reference<XPropertySet>& rxSet, sal_Int32 nInsertPos )
: m_xComponent( rxSet )
, m_xControlModel(rxSet,UNO_QUERY)
diff --git a/forms/source/component/GroupManager.hxx b/forms/source/component/GroupManager.hxx
index 35b2faabc0a3..a39f91fb6bee 100644
--- a/forms/source/component/GroupManager.hxx
+++ b/forms/source/component/GroupManager.hxx
@@ -98,7 +98,6 @@ class OGroupComp
public:
OGroupComp(const css::uno::Reference< css::beans::XPropertySet>& rxElement, sal_Int32 nInsertPos );
- OGroupComp(const OGroupComp& _rSource);
OGroupComp();
bool operator==( const OGroupComp& rComp ) const;