diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /basctl | |
parent | Formatting changes across all modules (diff) | |
download | core-a238b1f8d304bf1e2ffb357937f3ec888ee8ac89.tar.gz core-a238b1f8d304bf1e2ffb357937f3ec888ee8ac89.zip |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/accessibility/accessibledialogcontrolshape.cxx | 26 | ||||
-rw-r--r-- | basctl/source/accessibility/accessibledialogwindow.cxx | 39 | ||||
-rw-r--r-- | basctl/source/basicide/basicbox.cxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/basicbox.hxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 8 | ||||
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 9 | ||||
-rw-r--r-- | basctl/source/basicide/bastype2.cxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 11 | ||||
-rw-r--r-- | basctl/source/basicide/brkdlg.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/iderdll.cxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/layout.cxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/macrodlg.cxx | 7 | ||||
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 2 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 1 | ||||
-rw-r--r-- | basctl/source/inc/dlged.hxx | 1 | ||||
-rw-r--r-- | basctl/source/inc/dlgedobj.hxx | 1 |
19 files changed, 0 insertions, 122 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx index 30c0471b04ee..a0b4d4716a58 100644 --- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx +++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx @@ -46,7 +46,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // class AccessibleDialogControlShape @@ -69,7 +68,6 @@ AccessibleDialogControlShape::AccessibleDialogControlShape (DialogWindow* pDialo } - AccessibleDialogControlShape::~AccessibleDialogControlShape() { if ( m_xControlModel.is() ) @@ -80,7 +78,6 @@ AccessibleDialogControlShape::~AccessibleDialogControlShape() } - bool AccessibleDialogControlShape::IsFocused() { bool bFocused = false; @@ -95,7 +92,6 @@ bool AccessibleDialogControlShape::IsFocused() } - bool AccessibleDialogControlShape::IsSelected() { if ( m_pDialogWindow ) @@ -104,7 +100,6 @@ bool AccessibleDialogControlShape::IsSelected() } - void AccessibleDialogControlShape::SetFocused( bool bFocused ) { if ( m_bFocused != bFocused ) @@ -120,7 +115,6 @@ void AccessibleDialogControlShape::SetFocused( bool bFocused ) } - void AccessibleDialogControlShape::SetSelected( bool bSelected ) { if ( m_bSelected != bSelected ) @@ -136,7 +130,6 @@ void AccessibleDialogControlShape::SetSelected( bool bSelected ) } - awt::Rectangle AccessibleDialogControlShape::GetBounds() { awt::Rectangle aBounds( 0, 0, 0, 0 ); @@ -166,7 +159,6 @@ awt::Rectangle AccessibleDialogControlShape::GetBounds() } - void AccessibleDialogControlShape::SetBounds( const awt::Rectangle& aBounds ) { if ( m_aBounds.X != aBounds.X || m_aBounds.Y != aBounds.Y || m_aBounds.Width != aBounds.Width || m_aBounds.Height != aBounds.Height ) @@ -177,7 +169,6 @@ void AccessibleDialogControlShape::SetBounds( const awt::Rectangle& aBounds ) } - vcl::Window* AccessibleDialogControlShape::GetWindow() const { vcl::Window* pWindow = nullptr; @@ -192,7 +183,6 @@ vcl::Window* AccessibleDialogControlShape::GetWindow() const } - OUString AccessibleDialogControlShape::GetModelStringProperty( const sal_Char* pPropertyName ) { OUString sReturn; @@ -216,7 +206,6 @@ OUString AccessibleDialogControlShape::GetModelStringProperty( const sal_Char* p } - void AccessibleDialogControlShape::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { rStateSet.AddState( AccessibleStateType::ENABLED ); @@ -333,7 +322,6 @@ sal_Int32 AccessibleDialogControlShape::getAccessibleChildCount() throw (Runtime } - Reference< XAccessible > AccessibleDialogControlShape::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -345,7 +333,6 @@ Reference< XAccessible > AccessibleDialogControlShape::getAccessibleChild( sal_I } - Reference< XAccessible > AccessibleDialogControlShape::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -358,7 +345,6 @@ Reference< XAccessible > AccessibleDialogControlShape::getAccessibleParent( ) t } - sal_Int32 AccessibleDialogControlShape::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -390,7 +376,6 @@ sal_Int32 AccessibleDialogControlShape::getAccessibleIndexInParent( ) throw (Ru } - sal_Int16 AccessibleDialogControlShape::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -399,7 +384,6 @@ sal_Int16 AccessibleDialogControlShape::getAccessibleRole( ) throw (RuntimeExce } - OUString AccessibleDialogControlShape::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -408,7 +392,6 @@ OUString AccessibleDialogControlShape::getAccessibleDescription( ) throw (Runti } - OUString AccessibleDialogControlShape::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -417,7 +400,6 @@ OUString AccessibleDialogControlShape::getAccessibleName( ) throw (RuntimeExcep } - Reference< XAccessibleRelationSet > AccessibleDialogControlShape::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -428,7 +410,6 @@ Reference< XAccessibleRelationSet > AccessibleDialogControlShape::getAccessibleR } - Reference< XAccessibleStateSet > AccessibleDialogControlShape::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -449,7 +430,6 @@ Reference< XAccessibleStateSet > AccessibleDialogControlShape::getAccessibleStat } - Locale AccessibleDialogControlShape::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -469,14 +449,12 @@ Reference< XAccessible > AccessibleDialogControlShape::getAccessibleAtPoint( con } - void AccessibleDialogControlShape::grabFocus( ) throw (RuntimeException, std::exception) { // no focus for shapes } - sal_Int32 AccessibleDialogControlShape::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -502,7 +480,6 @@ sal_Int32 AccessibleDialogControlShape::getForeground( ) throw (RuntimeExceptio } - sal_Int32 AccessibleDialogControlShape::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -550,7 +527,6 @@ Reference< awt::XFont > AccessibleDialogControlShape::getFont( ) throw (Runtime } - OUString AccessibleDialogControlShape::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -559,7 +535,6 @@ OUString AccessibleDialogControlShape::getTitledBorderText( ) throw (RuntimeExc } - OUString AccessibleDialogControlShape::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -573,7 +548,6 @@ OUString AccessibleDialogControlShape::getToolTipText( ) throw (RuntimeExceptio } - } // namespace basctl /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx index aeae71e01f49..13f104da08ca 100644 --- a/basctl/source/accessibility/accessibledialogwindow.cxx +++ b/basctl/source/accessibility/accessibledialogwindow.cxx @@ -54,13 +54,11 @@ AccessibleDialogWindow::ChildDescriptor::ChildDescriptor( DlgEdObj* _pDlgEdObj ) } - AccessibleDialogWindow::ChildDescriptor::~ChildDescriptor() { } - AccessibleDialogWindow::ChildDescriptor::ChildDescriptor( const ChildDescriptor& rDesc ) :pDlgEdObj( rDesc.pDlgEdObj ) ,rxAccessible( rDesc.rxAccessible ) @@ -68,7 +66,6 @@ AccessibleDialogWindow::ChildDescriptor::ChildDescriptor( const ChildDescriptor& } - AccessibleDialogWindow::ChildDescriptor& AccessibleDialogWindow::ChildDescriptor::operator=( const ChildDescriptor& rDesc ) { pDlgEdObj = rDesc.pDlgEdObj; @@ -78,7 +75,6 @@ AccessibleDialogWindow::ChildDescriptor& AccessibleDialogWindow::ChildDescriptor } - bool AccessibleDialogWindow::ChildDescriptor::operator==( const ChildDescriptor& rDesc ) { bool bRet = false; @@ -89,7 +85,6 @@ bool AccessibleDialogWindow::ChildDescriptor::operator==( const ChildDescriptor& } - bool AccessibleDialogWindow::ChildDescriptor::operator<( const ChildDescriptor& rDesc ) const { bool bRet = false; @@ -136,7 +131,6 @@ AccessibleDialogWindow::AccessibleDialogWindow (basctl::DialogWindow* pDialogWin } - AccessibleDialogWindow::~AccessibleDialogWindow() { if ( m_pDialogWindow ) @@ -153,7 +147,6 @@ AccessibleDialogWindow::~AccessibleDialogWindow() } - void AccessibleDialogWindow::UpdateFocused() { for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i ) @@ -169,7 +162,6 @@ void AccessibleDialogWindow::UpdateFocused() } - void AccessibleDialogWindow::UpdateSelected() { NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() ); @@ -187,7 +179,6 @@ void AccessibleDialogWindow::UpdateSelected() } - void AccessibleDialogWindow::UpdateBounds() { for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i ) @@ -203,7 +194,6 @@ void AccessibleDialogWindow::UpdateBounds() } - bool AccessibleDialogWindow::IsChildVisible( const ChildDescriptor& rDesc ) { bool bVisible = false; @@ -247,7 +237,6 @@ bool AccessibleDialogWindow::IsChildVisible( const ChildDescriptor& rDesc ) } - void AccessibleDialogWindow::InsertChild( const ChildDescriptor& rDesc ) { // check, if object is already in child list @@ -276,7 +265,6 @@ void AccessibleDialogWindow::InsertChild( const ChildDescriptor& rDesc ) } - void AccessibleDialogWindow::RemoveChild( const ChildDescriptor& rDesc ) { // find object in child list @@ -306,7 +294,6 @@ void AccessibleDialogWindow::RemoveChild( const ChildDescriptor& rDesc ) } - void AccessibleDialogWindow::UpdateChild( const ChildDescriptor& rDesc ) { if ( IsChildVisible( rDesc ) ) @@ -322,7 +309,6 @@ void AccessibleDialogWindow::UpdateChild( const ChildDescriptor& rDesc ) } - void AccessibleDialogWindow::UpdateChildren() { if ( m_pDialogWindow ) @@ -335,7 +321,6 @@ void AccessibleDialogWindow::UpdateChildren() } - void AccessibleDialogWindow::SortChildren() { // sort child list @@ -343,7 +328,6 @@ void AccessibleDialogWindow::SortChildren() } - IMPL_LINK_TYPED( AccessibleDialogWindow, WindowEventListener, VclWindowEvent&, rEvent, void ) { DBG_ASSERT(rEvent.GetWindow(), "AccessibleDialogWindow::WindowEventListener: no window!"); @@ -352,7 +336,6 @@ IMPL_LINK_TYPED( AccessibleDialogWindow, WindowEventListener, VclWindowEvent&, r } - void AccessibleDialogWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { Any aOldValue, aNewValue; @@ -448,7 +431,6 @@ void AccessibleDialogWindow::ProcessWindowEvent( const VclWindowEvent& rVclWindo } - void AccessibleDialogWindow::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { if ( m_pDialogWindow ) @@ -624,7 +606,6 @@ sal_Int32 AccessibleDialogWindow::getAccessibleChildCount() throw (RuntimeExcept } - Reference< XAccessible > AccessibleDialogWindow::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -652,7 +633,6 @@ Reference< XAccessible > AccessibleDialogWindow::getAccessibleChild( sal_Int32 i } - Reference< XAccessible > AccessibleDialogWindow::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -669,7 +649,6 @@ Reference< XAccessible > AccessibleDialogWindow::getAccessibleParent( ) throw ( } - sal_Int32 AccessibleDialogWindow::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -696,7 +675,6 @@ sal_Int32 AccessibleDialogWindow::getAccessibleIndexInParent( ) throw (RuntimeE } - sal_Int16 AccessibleDialogWindow::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -705,7 +683,6 @@ sal_Int16 AccessibleDialogWindow::getAccessibleRole( ) throw (RuntimeException, } - OUString AccessibleDialogWindow::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -718,7 +695,6 @@ OUString AccessibleDialogWindow::getAccessibleDescription( ) throw (RuntimeExce } - OUString AccessibleDialogWindow::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -731,7 +707,6 @@ OUString AccessibleDialogWindow::getAccessibleName( ) throw (RuntimeException, } - Reference< XAccessibleRelationSet > AccessibleDialogWindow::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -742,7 +717,6 @@ Reference< XAccessibleRelationSet > AccessibleDialogWindow::getAccessibleRelatio } - Reference< XAccessibleStateSet > AccessibleDialogWindow::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -763,7 +737,6 @@ Reference< XAccessibleStateSet > AccessibleDialogWindow::getAccessibleStateSet( } - Locale AccessibleDialogWindow::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -803,7 +776,6 @@ Reference< XAccessible > AccessibleDialogWindow::getAccessibleAtPoint( const awt } - void AccessibleDialogWindow::grabFocus( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -813,7 +785,6 @@ void AccessibleDialogWindow::grabFocus( ) throw (RuntimeException, std::excepti } - sal_Int32 AccessibleDialogWindow::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -838,7 +809,6 @@ sal_Int32 AccessibleDialogWindow::getForeground( ) throw (RuntimeException, std } - sal_Int32 AccessibleDialogWindow::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -884,7 +854,6 @@ Reference< awt::XFont > AccessibleDialogWindow::getFont( ) throw (RuntimeExcept } - OUString AccessibleDialogWindow::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -893,7 +862,6 @@ OUString AccessibleDialogWindow::getTitledBorderText( ) throw (RuntimeException } - OUString AccessibleDialogWindow::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -928,7 +896,6 @@ void AccessibleDialogWindow::selectAccessibleChild( sal_Int32 nChildIndex ) thro } - sal_Bool AccessibleDialogWindow::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -943,7 +910,6 @@ sal_Bool AccessibleDialogWindow::isAccessibleChildSelected( sal_Int32 nChildInde } - void AccessibleDialogWindow::clearAccessibleSelection() throw (RuntimeException, std::exception) { @@ -954,7 +920,6 @@ void AccessibleDialogWindow::clearAccessibleSelection() } - void AccessibleDialogWindow::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -964,7 +929,6 @@ void AccessibleDialogWindow::selectAllAccessibleChildren( ) throw (RuntimeExcep } - sal_Int32 AccessibleDialogWindow::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -981,7 +945,6 @@ sal_Int32 AccessibleDialogWindow::getSelectedAccessibleChildCount( ) throw (Run } - Reference< XAccessible > AccessibleDialogWindow::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -1004,7 +967,6 @@ Reference< XAccessible > AccessibleDialogWindow::getSelectedAccessibleChild( sal } - void AccessibleDialogWindow::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -1025,7 +987,6 @@ void AccessibleDialogWindow::deselectAccessibleChild( sal_Int32 nChildIndex ) th } - } // namespace basctl /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basctl/source/basicide/basicbox.cxx b/basctl/source/basicide/basicbox.cxx index c515c23bed48..cc7c5cb68840 100644 --- a/basctl/source/basicide/basicbox.cxx +++ b/basctl/source/basicide/basicbox.cxx @@ -45,7 +45,6 @@ LibBoxControl::LibBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx } - void LibBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const SfxPoolItem* pState ) { LibBox* pBox = static_cast<LibBox*>(GetToolBox().GetItemWindow(GetId())); @@ -64,7 +63,6 @@ void LibBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const SfxPool } - VclPtr<vcl::Window> LibBoxControl::CreateItemWindow( vcl::Window *pParent ) { return VclPtr<LibBox>::Create( pParent ); @@ -146,7 +144,6 @@ LibBox::LibBox( vcl::Window* pParent ) : } - LibBox::~LibBox() { disposeOnce(); diff --git a/basctl/source/basicide/basicbox.hxx b/basctl/source/basicide/basicbox.hxx index 77f86429c3d8..63d91317dada 100644 --- a/basctl/source/basicide/basicbox.hxx +++ b/basctl/source/basicide/basicbox.hxx @@ -70,7 +70,6 @@ private: }; - class LibBox : public DocListenerBox { private: diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 65896d018781..bc8072cf2bf9 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -393,7 +393,6 @@ void ModulWindow::BasicStepOut() } - void ModulWindow::BasicStop() { StarBASIC::Stop(); @@ -695,7 +694,6 @@ void ModulWindow::BasicAddWatch() } - void ModulWindow::EditMacro( const OUString& rMacroName ) { DBG_ASSERT( XModule().Is(), "Kein Modul!" ); @@ -1035,7 +1033,6 @@ void ModulWindow::ExecuteGlobal (SfxRequest& rReq) } - void ModulWindow::GetState( SfxItemSet &rSet ) { SfxWhichIter aIter(rSet); diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 41dd6d3f5753..9e66970dae85 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -220,7 +220,6 @@ public: }; - class WatchWindow : public DockingWindow { private: diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 4821c1280f55..70f6e7324ef5 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -172,11 +172,9 @@ void lcl_SeparateNameAndIndex( const OUString& rVName, OUString& rVar, OUString& } // namespace - // EditorWindow - class EditorWindow::ChangesListener: public cppu::WeakImplHelper< beans::XPropertiesChangeListener > { @@ -1648,7 +1646,6 @@ WatchWindow::WatchWindow (Layout* pParent) : } - WatchWindow::~WatchWindow() { disposeOnce(); @@ -1849,11 +1846,9 @@ void WatchWindow::UpdateWatches( bool bBasicStopped ) } - // StackWindow - StackWindow::StackWindow (Layout* pParent) : DockingWindow(pParent), aTreeListBox( VclPtr<SvTreeListBox>::Create(this, WB_BORDER | WB_3DLOOK | WB_HSCROLL | WB_TABSTOP) ), @@ -1876,7 +1871,6 @@ StackWindow::StackWindow (Layout* pParent) : } - StackWindow::~StackWindow() { disposeOnce(); @@ -2100,11 +2094,9 @@ EditorWindow::GetComponentInterface(bool bCreate) } - // WatchTreeListBox - WatchTreeListBox::WatchTreeListBox( vcl::Window* pParent, WinBits nWinBits ) : SvHeaderTabListBox( pParent, nWinBits ) {} diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 9a6cccb88ef6..21e8d97692c4 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -1368,11 +1368,9 @@ ItemType DialogWindow::GetType () const } - // DialogWindowLayout - DialogWindowLayout::DialogWindowLayout (vcl::Window* pParent, ObjectCatalog& rObjectCatalog_) : Layout(pParent), pChild(nullptr), diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 06187922777f..e9feef8b856b 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -423,7 +423,6 @@ void Shell::InitScrollBars() } - void Shell::InitTabBar() { pTabBar->Enable(); @@ -432,7 +431,6 @@ void Shell::InitTabBar() } - void Shell::OuterResizePixel( const Point &rPos, const Size &rSize ) { AdjustPosSizePixel( rPos, rSize ); @@ -448,7 +446,6 @@ IMPL_LINK_TYPED( Shell, TabBarHdl, ::TabBar *, pCurTabBar, void ) } - bool Shell::NextPage( bool bPrev ) { bool bRet = false; @@ -479,7 +476,6 @@ bool Shell::NextPage( bool bPrev ) } - void Shell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) { if (GetShell()) @@ -556,7 +552,6 @@ void Shell::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) } - void Shell::CheckWindows() { bool bSetCurWindow = false; @@ -580,7 +575,6 @@ void Shell::CheckWindows() } - void Shell::RemoveWindows( const ScriptDocument& rDocument, const OUString& rLibName, bool bDestroy ) { bool bChangeCurWindow = pCurWin; @@ -604,7 +598,6 @@ void Shell::RemoveWindows( const ScriptDocument& rDocument, const OUString& rLib } - void Shell::UpdateWindows() { // remove all windows that may not be displayed @@ -813,7 +806,6 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange } - sal_uInt16 Shell::InsertWindowInTable( BaseWindow* pNewWin ) { nCurKey++; @@ -822,7 +814,6 @@ sal_uInt16 Shell::InsertWindowInTable( BaseWindow* pNewWin ) } - void Shell::InvalidateBasicIDESlots() { // only those that have an optic effect... diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index 652c75980ebf..30fa79236e18 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -163,7 +163,6 @@ EntryDescriptor::~EntryDescriptor() // TreeListBox - TreeListBox::TreeListBox (vcl::Window* pParent, ResId const& rRes) : SvTreeListBox( pParent, IDEResId( sal::static_int_cast<sal_uInt16>( rRes.GetId() ) ) ) , m_aNotifier( *this ) diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 32175e2e632f..94b36025e914 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -68,7 +68,6 @@ void BaseWindow::dispose() } - void BaseWindow::Init() { if ( pShellVScrollBar ) @@ -79,12 +78,10 @@ void BaseWindow::Init() } - void BaseWindow::DoInit() { } - void BaseWindow::GrabScrollBars( ScrollBar* pHScroll, ScrollBar* pVScroll ) { pShellHScrollBar = pHScroll; @@ -93,7 +90,6 @@ void BaseWindow::GrabScrollBars( ScrollBar* pHScroll, ScrollBar* pVScroll ) } - IMPL_LINK_TYPED( BaseWindow, ScrollHdl, ScrollBar *, pCurScrollBar, void ) { DoScroll( pCurScrollBar ); @@ -156,7 +152,6 @@ bool BaseWindow::AllowUndo() } - void BaseWindow::UpdateData() { } @@ -254,11 +249,9 @@ bool BaseWindow::HasActiveEditor () const } - // DockingWindow - // style bits for DockingWindow WinBits const DockingWindow::StyleBits = WB_BORDER | WB_3DLOOK | WB_CLIPCHILDREN | @@ -422,11 +415,9 @@ void DockingWindow::DockThis () } - // ExtendedEdit - ExtendedEdit::ExtendedEdit( vcl::Window* pParent, IDEResId nRes ) : Edit( pParent, nRes ) { @@ -456,7 +447,6 @@ IMPL_LINK_TYPED( ExtendedEdit, EditAccHdl, Accelerator&, rAcc, void ) // TabBar - TabBar::TabBar( vcl::Window* pParent ) : ::TabBar( pParent, WinBits( WB_3DLOOK | WB_SCROLL | WB_BORDER | WB_SIZEABLE | WB_DRAG ) ) { @@ -716,7 +706,6 @@ sal_uLong CalcLineCount( SvStream& rStream ) // LibInfos - LibInfos::LibInfos () { } diff --git a/basctl/source/basicide/brkdlg.cxx b/basctl/source/basicide/brkdlg.cxx index 599744d8ad0e..f028bcf80cd7 100644 --- a/basctl/source/basicide/brkdlg.cxx +++ b/basctl/source/basicide/brkdlg.cxx @@ -171,7 +171,6 @@ IMPL_LINK_TYPED( BreakPointDialog, ComboBoxHighlightHdl, ComboBox&, rBox, void ) } - IMPL_LINK_TYPED( BreakPointDialog, EditModifyHdl, Edit&, rEdit, void ) { if (&rEdit == m_pComboBox) @@ -185,7 +184,6 @@ IMPL_LINK_TYPED( BreakPointDialog, EditModifyHdl, Edit&, rEdit, void ) } - IMPL_LINK_TYPED( BreakPointDialog, ButtonHdl, Button *, pButton, void ) { if (pButton == m_pOKButton) @@ -236,7 +234,6 @@ IMPL_LINK_TYPED( BreakPointDialog, ButtonHdl, Button *, pButton, void ) } - void BreakPointDialog::UpdateFields( BreakPoint* pBrk ) { if ( pBrk ) @@ -247,7 +244,6 @@ void BreakPointDialog::UpdateFields( BreakPoint* pBrk ) } - BreakPoint* BreakPointDialog::GetSelectedBreakPoint() { size_t nEntry = m_pComboBox->GetEntryPos( m_pComboBox->GetText() ); diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx index cc715dfeb296..19d5961eb93b 100644 --- a/basctl/source/basicide/iderdll.cxx +++ b/basctl/source/basicide/iderdll.cxx @@ -148,7 +148,6 @@ ExtraData* Dll::GetExtraData () // basctl::ExtraData - ExtraData::ExtraData () : pSearchItem(new SvxSearchItem(SID_SEARCH_ITEM)), bChoosingMacro(false), diff --git a/basctl/source/basicide/layout.cxx b/basctl/source/basicide/layout.cxx index 360d5f7bd3d3..50ba83481aa1 100644 --- a/basctl/source/basicide/layout.cxx +++ b/basctl/source/basicide/layout.cxx @@ -166,7 +166,6 @@ void Layout::DataChanged (DataChangedEvent const& rDCEvt) // SplittedSide - // ctor Layout::SplittedSide::SplittedSide (Layout* pParent, Side eSide) : rLayout(*pParent), diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx index 04bd6bdd4d2a..e2affdcb10cb 100644 --- a/basctl/source/basicide/macrodlg.cxx +++ b/basctl/source/basicide/macrodlg.cxx @@ -267,8 +267,6 @@ void MacroChooser::EnableButton( Button& rButton, bool bEnable ) } - - SbMethod* MacroChooser::GetMacro() { SbMethod* pMethod = nullptr; @@ -286,7 +284,6 @@ SbMethod* MacroChooser::GetMacro() } - void MacroChooser::DeleteMacro() { SbMethod* pMethod = GetMacro(); @@ -467,7 +464,6 @@ void MacroChooser::CheckButtons() } - IMPL_LINK_NOARG_TYPED(MacroChooser, MacroDoubleClickHdl, SvTreeListBox*, bool) { StoreMacroDescription(); @@ -549,7 +545,6 @@ IMPL_LINK_TYPED( MacroChooser, BasicSelectHdl, SvTreeListBox *, pBox, void ) } - IMPL_LINK_NOARG_TYPED( MacroChooser, EditModifyHdl, Edit&, void ) { // select the module in which the macro is put at Neu (new), @@ -607,7 +602,6 @@ IMPL_LINK_NOARG_TYPED( MacroChooser, EditModifyHdl, Edit&, void ) } - IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void ) { // apart from New/Record the Description is done by LoseFocus @@ -790,7 +784,6 @@ IMPL_LINK_TYPED( MacroChooser, ButtonHdl, Button *, pButton, void ) } - void MacroChooser::UpdateFields() { SvTreeListEntry* pMacroEntry = m_pMacroBox->GetCurEntry(); diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index f90ac3fd3218..894613d2d9b0 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -552,7 +552,6 @@ IMPL_LINK_TYPED( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl, void ) // ObjectPage - ObjectPage::ObjectPage(vcl::Window *pParent, const OString &rName, sal_uInt16 nMode) : TabPage(pParent, rName, "modules/BasicIDE/ui/" + OStringToOUString(rName, RTL_TEXTENCODING_UTF8).toAsciiLowerCase() + @@ -920,7 +919,6 @@ void ObjectPage::DeleteCurrent() } - void ObjectPage::EndTabDialog( sal_uInt16 nRet ) { DBG_ASSERT( pTabDlg, "TabDlg nicht gesetzt!" ); diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 4c58e37e72f4..24ab996db5a0 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -62,7 +62,6 @@ static const char aDecorationPropName[] = "Decoration"; static const char aTitlePropName[] = "Title"; - // DlgEdHint diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index edad9fd90799..997d416ade64 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -81,7 +81,6 @@ public: }; - // DlgEditor diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx index 65afa32f44fc..7d4addf38291 100644 --- a/basctl/source/inc/dlgedobj.hxx +++ b/basctl/source/inc/dlgedobj.hxx @@ -132,7 +132,6 @@ public: }; - // DlgEdForm |