From 7315f325ff7ada3d6bd85a471058fdaeaff8cdb0 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sat, 12 Aug 2017 00:30:32 +0200 Subject: 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 Reviewed-by: Noel Grandin --- basic/source/sbx/sbxvar.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'basic/source/sbx/sbxvar.cxx') 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 ) - { - } }; -- cgit