diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-30 14:19:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-30 19:26:41 +0100 |
commit | dd5fa4cea7b0c6912754e6887a678a050d4a7610 (patch) | |
tree | 0adad9f670530750abb16ee785cde30bddcd039c /connectivity | |
parent | 181c6a88866511384b291de0701e0e0c9289703d (diff) |
declare default dtor as virtual
Change-Id: Ic77dbe3ffb2d2856d437158914b877b913296e0e
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/file/fcode.cxx | 10 | ||||
-rw-r--r-- | connectivity/source/inc/file/fcode.hxx | 3 |
2 files changed, 1 insertions, 12 deletions
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 ); } |