From 107e5981b45f8ee042f6fbf5e1aa84aa557f8989 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 30 Aug 2016 14:41:11 +0100 Subject: default dtors are fine here Change-Id: I503f954a2729aa2737d783ed8c72f62d8a68da4c --- forms/source/richtext/rtattributes.hxx | 6 ------ forms/source/xforms/mip.cxx | 6 ------ forms/source/xforms/mip.hxx | 1 - 3 files changed, 13 deletions(-) (limited to 'forms') diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx index 5e61f55dbffa..a47c5e22abd3 100644 --- a/forms/source/richtext/rtattributes.hxx +++ b/forms/source/richtext/rtattributes.hxx @@ -51,7 +51,6 @@ namespace frm inline AttributeState( ); inline explicit AttributeState( AttributeCheckState _eCheckState ); inline AttributeState( const AttributeState& _rSource ); - inline ~AttributeState( ); inline AttributeState& operator=( const AttributeState& _rSource ); @@ -80,11 +79,6 @@ namespace frm operator=( _rSource ); } - inline AttributeState::~AttributeState( ) - { -// delete(pItemHandle); - } - inline AttributeState& AttributeState::operator=( const AttributeState& _rSource ) { if ( &_rSource == this ) diff --git a/forms/source/xforms/mip.cxx b/forms/source/xforms/mip.cxx index ddeb96864890..0edf32e53a09 100644 --- a/forms/source/xforms/mip.cxx +++ b/forms/source/xforms/mip.cxx @@ -20,11 +20,9 @@ #include "mip.hxx" - namespace xforms { - MIP::MIP() { resetReadonly(); @@ -35,8 +33,6 @@ MIP::MIP() resetTypeName(); } -MIP::~MIP() {} - void MIP::inherit( const MIP& rMip ) { if( ! mbHasReadonly ) @@ -92,14 +88,12 @@ void MIP::resetConstraint() { mbHasConstraint = false; mbConstraint = true void MIP::setConstraintExplanation( const OUString& s ) { msConstraintExplanation = s; } - void MIP::setHasCalculate( bool b ) { mbHasCalculate = b; } void MIP::resetCalculate() { mbHasCalculate = false; } void MIP::setTypeName( const OUString& s ) { msTypeName = s; mbHasTypeName = true; } void MIP::resetTypeName() { msTypeName.clear(); mbHasTypeName = false; } - } // namespace xforms /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/forms/source/xforms/mip.hxx b/forms/source/xforms/mip.hxx index 5db986d9cf55..4996fe162d58 100644 --- a/forms/source/xforms/mip.hxx +++ b/forms/source/xforms/mip.hxx @@ -52,7 +52,6 @@ class MIP public: MIP(); - ~MIP(); /// inherit from upper-level MIPs void inherit( const MIP& ); -- cgit