diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2018-02-25 14:45:15 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-25 16:31:38 +0100 |
commit | d176877bc0ccb8432e55eda2e7d620a246bccdde (patch) | |
tree | 9ffa99ecfc0bfa0e05d96421e87901e83c635353 /accessibility/source | |
parent | 6d7c82a57377a6d8c13e3c990466232cbec7e4f9 (diff) |
accessibility: cleanup constructors and destructors
Change-Id: Id9d420e633691cf87706088d7415aeb8ed1bdb8d
Reviewed-on: https://gerrit.libreoffice.org/50307
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/source')
23 files changed, 2 insertions, 114 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx index c88705f8e7c3..99e96920dc9d 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx @@ -46,10 +46,6 @@ AccessibleBrowseBoxTableBase::AccessibleBrowseBoxTableBase( { } -AccessibleBrowseBoxTableBase::~AccessibleBrowseBoxTableBase() -{ -} - // XAccessibleContext --------------------------------------------------------- sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleChildCount() diff --git a/accessibility/source/extended/AccessibleGridControl.cxx b/accessibility/source/extended/AccessibleGridControl.cxx index d9a2bd694d9f..70a9942a8150 100644 --- a/accessibility/source/extended/AccessibleGridControl.cxx +++ b/accessibility/source/extended/AccessibleGridControl.cxx @@ -48,11 +48,6 @@ AccessibleGridControl::AccessibleGridControl( } -AccessibleGridControl::~AccessibleGridControl() -{ -} - - void SAL_CALL AccessibleGridControl::disposing() { SolarMutexGuard g; diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index 4d19c1eac509..505c2cb77e52 100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -39,12 +39,6 @@ AccessibleGridControlTable::AccessibleGridControlTable( const Reference< XAccessible >& rxParent, IAccessibleTable& rTable) : AccessibleGridControlTableBase( rxParent, rTable, TCTYPE_TABLE ) - ,m_pCellVector( ) - ,m_pAccessCellVector( ) -{ -} - -AccessibleGridControlTable::~AccessibleGridControlTable() { } diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx index 10ac1730540d..d3abb12cac1e 100644 --- a/accessibility/source/extended/accessibleiconchoicectrl.cxx +++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx @@ -45,7 +45,6 @@ namespace accessibility // Ctor() and Dtor() AccessibleIconChoiceCtrl::AccessibleIconChoiceCtrl( SvtIconChoiceCtrl const & _rIconCtrl, const Reference< XAccessible >& _xParent ) : - VCLXAccessibleComponent( _rIconCtrl.GetWindowPeer() ), m_xParent ( _xParent ) { diff --git a/accessibility/source/inc/floatingwindowaccessible.hxx b/accessibility/source/inc/floatingwindowaccessible.hxx index 3900aec91822..94670742e69c 100644 --- a/accessibility/source/inc/floatingwindowaccessible.hxx +++ b/accessibility/source/inc/floatingwindowaccessible.hxx @@ -22,10 +22,10 @@ #include <toolkit/awt/vclxaccessiblecomponent.hxx> -class FloatingWindowAccessible : public VCLXAccessibleComponent +class FloatingWindowAccessible final : public VCLXAccessibleComponent { public: - FloatingWindowAccessible( VCLXWindow* pWindow ); + using VCLXAccessibleComponent::VCLXAccessibleComponent; virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override; }; diff --git a/accessibility/source/standard/accessiblemenucomponent.cxx b/accessibility/source/standard/accessiblemenucomponent.cxx index 170bc2d2e5bf..f2fd2b9f653c 100644 --- a/accessibility/source/standard/accessiblemenucomponent.cxx +++ b/accessibility/source/standard/accessiblemenucomponent.cxx @@ -46,12 +46,6 @@ using namespace ::comphelper; // class OAccessibleMenuComponent -OAccessibleMenuComponent::OAccessibleMenuComponent( Menu* pMenu ) - :OAccessibleMenuBaseComponent( pMenu ) -{ -} - - bool OAccessibleMenuComponent::IsEnabled() { return true; diff --git a/accessibility/source/standard/floatingwindowaccessible.cxx b/accessibility/source/standard/floatingwindowaccessible.cxx index 72a31cd3e987..aa5ef41f6c79 100644 --- a/accessibility/source/standard/floatingwindowaccessible.cxx +++ b/accessibility/source/standard/floatingwindowaccessible.cxx @@ -27,10 +27,6 @@ namespace uno = ::com::sun::star::uno; using ::com::sun::star::accessibility::AccessibleRelation; namespace AccessibleRelationType = ::com::sun::star::accessibility::AccessibleRelationType; -FloatingWindowAccessible::FloatingWindowAccessible(VCLXWindow* pWindow) : - VCLXAccessibleComponent(pWindow) -{ -} void FloatingWindowAccessible::FillAccessibleRelationSet(utl::AccessibleRelationSetHelper& rRelationSet) { diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx index 1e48554be90e..ed3769f6093d 100644 --- a/accessibility/source/standard/vclxaccessiblebutton.cxx +++ b/accessibility/source/standard/vclxaccessiblebutton.cxx @@ -44,12 +44,6 @@ using namespace ::comphelper; // VCLXAccessibleButton -VCLXAccessibleButton::VCLXAccessibleButton( VCLXWindow* pVCLWindow ) - :VCLXAccessibleTextComponent( pVCLWindow ) -{ -} - - void VCLXAccessibleButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx index 9f0c6a794140..8465562d2fe8 100644 --- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx +++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx @@ -53,11 +53,6 @@ VCLXAccessibleCheckBox::VCLXAccessibleCheckBox( VCLXWindow* pVCLWindow ) } -VCLXAccessibleCheckBox::~VCLXAccessibleCheckBox() -{ -} - - bool VCLXAccessibleCheckBox::IsChecked() { bool bChecked = false; diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx index f7ac8890c762..ae7615a73cf6 100644 --- a/accessibility/source/standard/vclxaccessiblecombobox.cxx +++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx @@ -37,10 +37,6 @@ VCLXAccessibleComboBox::VCLXAccessibleComboBox (VCLXWindow* pVCLWindow) } -VCLXAccessibleComboBox::~VCLXAccessibleComboBox() -{ -} - bool VCLXAccessibleComboBox::IsValid() const { return GetWindow().get() != nullptr; diff --git a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx index fd8a3599d48e..372610459597 100644 --- a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx @@ -51,10 +51,6 @@ VCLXAccessibleDropDownComboBox::VCLXAccessibleDropDownComboBox (VCLXWindow* pVCL } -VCLXAccessibleDropDownComboBox::~VCLXAccessibleDropDownComboBox() -{ -} - bool VCLXAccessibleDropDownComboBox::IsValid() const { return GetWindow().get() != nullptr; diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx index c61cd74fdab3..ec52ab326165 100644 --- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx @@ -50,10 +50,6 @@ VCLXAccessibleDropDownListBox::VCLXAccessibleDropDownListBox (VCLXWindow* pVCLWi } -VCLXAccessibleDropDownListBox::~VCLXAccessibleDropDownListBox() -{ -} - bool VCLXAccessibleDropDownListBox::IsValid() const { return GetWindow().get() != nullptr; diff --git a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx index 86f66748f3ac..31f8ab8c4189 100644 --- a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx +++ b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx @@ -25,12 +25,6 @@ using namespace ::com::sun::star; // VCLXAccessibleFixedHyperlink -VCLXAccessibleFixedHyperlink::VCLXAccessibleFixedHyperlink( VCLXWindow* pVCLWindow ) - :VCLXAccessibleTextComponent( pVCLWindow ) -{ -} - - // XServiceInfo diff --git a/accessibility/source/standard/vclxaccessiblefixedtext.cxx b/accessibility/source/standard/vclxaccessiblefixedtext.cxx index feead27133da..311a26c943df 100644 --- a/accessibility/source/standard/vclxaccessiblefixedtext.cxx +++ b/accessibility/source/standard/vclxaccessiblefixedtext.cxx @@ -33,12 +33,6 @@ using namespace ::com::sun::star::accessibility; // VCLXAccessibleFixedText -VCLXAccessibleFixedText::VCLXAccessibleFixedText( VCLXWindow* pVCLWindow ) - :VCLXAccessibleTextComponent( pVCLWindow ) -{ -} - - void VCLXAccessibleFixedText::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index c09db9eb1ad3..d896809ccb2e 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -97,11 +97,6 @@ VCLXAccessibleList::VCLXAccessibleList (VCLXWindow* pVCLWindow, BoxType aBoxType } -VCLXAccessibleList::~VCLXAccessibleList() -{ -} - - void VCLXAccessibleList::SetIndexInParent (sal_Int32 nIndex) { m_nIndexInParent = nIndex; diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index 988d4ea1e204..d64852f4e0e8 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -78,10 +78,6 @@ VCLXAccessibleListItem::VCLXAccessibleListItem(sal_Int32 _nIndexInParent, const m_sEntryText = pListBoxHelper->GetEntry(static_cast<sal_uInt16>(_nIndexInParent)); } -VCLXAccessibleListItem::~VCLXAccessibleListItem() -{ -} - void VCLXAccessibleListItem::SetSelected( bool _bSelected ) { if ( m_bSelected != _bSelected ) diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx index f5922f3fc79e..7474691ad5e8 100644 --- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx +++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx @@ -45,17 +45,6 @@ using namespace ::comphelper; // VCLXAccessibleScrollBar -VCLXAccessibleScrollBar::VCLXAccessibleScrollBar( VCLXWindow* pVCLWindow ) - :VCLXAccessibleComponent( pVCLWindow ) -{ -} - - -VCLXAccessibleScrollBar::~VCLXAccessibleScrollBar() -{ -} - - void VCLXAccessibleScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) diff --git a/accessibility/source/standard/vclxaccessiblestatusbar.cxx b/accessibility/source/standard/vclxaccessiblestatusbar.cxx index 3e7169a2d864..1af8b3993025 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbar.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbar.cxx @@ -45,11 +45,6 @@ VCLXAccessibleStatusBar::VCLXAccessibleStatusBar( VCLXWindow* pVCLXWindow ) } -VCLXAccessibleStatusBar::~VCLXAccessibleStatusBar() -{ -} - - void VCLXAccessibleStatusBar::UpdateShowing( sal_Int32 i, bool bShowing ) { if ( i >= 0 && i < static_cast<sal_Int32>(m_aAccessibleChildren.size()) ) diff --git a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx index a187779020b4..a81a720db4dd 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx @@ -58,11 +58,6 @@ VCLXAccessibleStatusBarItem::VCLXAccessibleStatusBarItem( StatusBar* pStatusBar, } -VCLXAccessibleStatusBarItem::~VCLXAccessibleStatusBarItem() -{ -} - - bool VCLXAccessibleStatusBarItem::IsShowing() { bool bShowing = false; diff --git a/accessibility/source/standard/vclxaccessibletabcontrol.cxx b/accessibility/source/standard/vclxaccessibletabcontrol.cxx index bbe78443dc72..8a5a2c699181 100644 --- a/accessibility/source/standard/vclxaccessibletabcontrol.cxx +++ b/accessibility/source/standard/vclxaccessibletabcontrol.cxx @@ -55,11 +55,6 @@ VCLXAccessibleTabControl::VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow ) } -VCLXAccessibleTabControl::~VCLXAccessibleTabControl() -{ -} - - void VCLXAccessibleTabControl::UpdateFocused() { for (Reference<XAccessible>& xChild : m_aAccessibleChildren) diff --git a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx index 0b8c2c5f7390..48e70195deb4 100644 --- a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx +++ b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx @@ -58,11 +58,6 @@ VCLXAccessibleTabPageWindow::VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindo } -VCLXAccessibleTabPageWindow::~VCLXAccessibleTabPageWindow() -{ -} - - // OCommonAccessibleComponent diff --git a/accessibility/source/standard/vclxaccessibletextcomponent.cxx b/accessibility/source/standard/vclxaccessibletextcomponent.cxx index 7faaecf7a434..fba126a63497 100644 --- a/accessibility/source/standard/vclxaccessibletextcomponent.cxx +++ b/accessibility/source/standard/vclxaccessibletextcomponent.cxx @@ -55,11 +55,6 @@ VCLXAccessibleTextComponent::VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindo } -VCLXAccessibleTextComponent::~VCLXAccessibleTextComponent() -{ -} - - void VCLXAccessibleTextComponent::SetText( const OUString& sText ) { Any aOldValue, aNewValue; diff --git a/accessibility/source/standard/vclxaccessibletextfield.cxx b/accessibility/source/standard/vclxaccessibletextfield.cxx index a6a2138532ca..0f14ab8dde35 100644 --- a/accessibility/source/standard/vclxaccessibletextfield.cxx +++ b/accessibility/source/standard/vclxaccessibletextfield.cxx @@ -37,19 +37,13 @@ using namespace ::com::sun::star::accessibility; VCLXAccessibleTextField::VCLXAccessibleTextField (VCLXWindow* pVCLWindow, const Reference< XAccessible >& _xParent) : - VCLXAccessibleTextComponent (pVCLWindow), - m_xParent( _xParent ) { } -VCLXAccessibleTextField::~VCLXAccessibleTextField() -{ -} - OUString VCLXAccessibleTextField::implGetText() { OUString aText; |