diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-08-12 00:30:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-17 07:43:01 +0200 |
commit | 7315f325ff7ada3d6bd85a471058fdaeaff8cdb0 (patch) | |
tree | ef1505a58c8684a5430999e4f53a8a7d6b9f19ae /basic/source | |
parent | 83288332f7ced698610739419989c464256f1c4d (diff) |
use more default copy ctors
if ctor should be private or protected explicitly default them.
boost::optional has copy ctors, so use them.
Change-Id: If1855626b297e739afef0dc5ad57958f7ad199bc
Reviewed-on: https://gerrit.libreoffice.org/42363
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index df30aad6ebe8..5da7a1667242 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -49,12 +49,6 @@ class SbxVariableImpl SbxVariableImpl() : m_pComListenerParentBasic( nullptr ) {} - SbxVariableImpl( const SbxVariableImpl& r ) - : m_aDeclareClassName( r.m_aDeclareClassName ) - , m_xComListener( r.m_xComListener ) - , m_pComListenerParentBasic( r.m_pComListenerParentBasic ) - { - } }; |