From dd5fa4cea7b0c6912754e6887a678a050d4a7610 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 30 Aug 2016 14:19:44 +0100 Subject: declare default dtor as virtual Change-Id: Ic77dbe3ffb2d2856d437158914b877b913296e0e --- connectivity/source/drivers/file/fcode.cxx | 10 ---------- connectivity/source/inc/file/fcode.hxx | 3 +-- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx index 47e7cac831d7..3089359e858f 100644 --- a/connectivity/source/drivers/file/fcode.cxx +++ b/connectivity/source/drivers/file/fcode.cxx @@ -32,16 +32,6 @@ using namespace connectivity::file; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdb; - -OCode::OCode() -{ -} - -OCode::~OCode() -{ -} - - OOperandRow::OOperandRow(sal_uInt16 _nPos, sal_Int32 _rType) : OOperand(_rType) , m_nRowPos(_nPos) diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx index afd62c78b3d1..c3465695fdb1 100644 --- a/connectivity/source/inc/file/fcode.hxx +++ b/connectivity/source/inc/file/fcode.hxx @@ -44,8 +44,7 @@ namespace connectivity class OOO_DLLPUBLIC_FILE OCode { public: - OCode(); - virtual ~OCode(); + virtual ~OCode() = default; inline static void * SAL_CALL operator new( size_t nSize ) { return ::rtl_allocateMemory( nSize ); } -- cgit