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 /sfx2/source/toolbox/tbxitem.cxx | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
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 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index f49b7dd13a35..ec0b2f577eea 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -104,7 +104,6 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::ui; - SFX_IMPL_TOOLBOX_CONTROL_ARG(SfxToolBoxControl, SfxStringItem, true); static vcl::Window* GetTopMostParentSystemWindow( vcl::Window* pWindow ) @@ -210,7 +209,6 @@ IMPL_LINK_TYPED( SfxToolBoxControl_Impl, WindowEventListener, VclWindowEvent&, r } - SfxToolBoxControl::SfxToolBoxControl( sal_uInt16 nSlotID, sal_uInt16 nID, @@ -229,14 +227,12 @@ SfxToolBoxControl::SfxToolBoxControl( } - SfxToolBoxControl::~SfxToolBoxControl() { delete pImpl; } - ToolBox& SfxToolBoxControl::GetToolBox() const { return *pImpl->pBox; @@ -251,7 +247,6 @@ unsigned short SfxToolBoxControl::GetSlotId() const } - void SAL_CALL SfxToolBoxControl::dispose() throw (css::uno::RuntimeException, std::exception) { if ( m_bDisposed ) @@ -623,7 +618,6 @@ void SfxToolBoxControl::SetPopupWindow( SfxPopupWindow* pWindow ) } - IMPL_LINK_NOARG_TYPED(SfxToolBoxControl, PopupModeEndHdl, FloatingWindow*, void) { if ( pImpl->mpPopupWindow->IsVisible() ) @@ -655,7 +649,6 @@ IMPL_LINK_TYPED( SfxToolBoxControl, ClosePopupWindow, SfxPopupWindow *, pWindow, } - void SfxToolBoxControl::StateChanged ( sal_uInt16 nId, @@ -714,26 +707,22 @@ void SfxToolBoxControl::StateChanged } - void SfxToolBoxControl::Select( sal_uInt16 nSelectModifier ) { svt::ToolboxController::execute( nSelectModifier ); } - void SfxToolBoxControl::DoubleClick() { } - void SfxToolBoxControl::Click() { } - VclPtr<SfxPopupWindow> SfxToolBoxControl::CreatePopupWindow() { return nullptr; @@ -769,13 +758,11 @@ SfxFrameStatusListener::SfxFrameStatusListener( } - SfxFrameStatusListener::~SfxFrameStatusListener() { } - // XStatusListener void SAL_CALL SfxFrameStatusListener::statusChanged( const css::frame::FeatureStateEvent& rEvent ) throw ( css::uno::RuntimeException, std::exception ) @@ -982,7 +969,6 @@ void SfxPopupWindow::dispose() } - void SfxPopupWindow::GetOrCreateStatusListener() { if ( !m_xStatusListener.is() ) @@ -996,7 +982,6 @@ void SfxPopupWindow::GetOrCreateStatusListener() } - void SfxPopupWindow::BindListener() { GetOrCreateStatusListener(); @@ -1005,7 +990,6 @@ void SfxPopupWindow::BindListener() } - void SfxPopupWindow::UnbindListener() { GetOrCreateStatusListener(); @@ -1014,7 +998,6 @@ void SfxPopupWindow::UnbindListener() } - void SfxPopupWindow::AddStatusListener( const OUString& rCommandURL ) { GetOrCreateStatusListener(); @@ -1023,7 +1006,6 @@ void SfxPopupWindow::AddStatusListener( const OUString& rCommandURL ) } - bool SfxPopupWindow::Close() { m_bFloating = false; @@ -1034,7 +1016,6 @@ bool SfxPopupWindow::Close() } - void SfxPopupWindow::PopupModeEnd() { //! to allow PopupModeEndHdl to be called @@ -1051,7 +1032,6 @@ void SfxPopupWindow::PopupModeEnd() } - void SfxPopupWindow::DeleteFloatingWindow() { if ( m_bFloating ) @@ -1062,7 +1042,6 @@ void SfxPopupWindow::DeleteFloatingWindow() } - void SfxPopupWindow::MouseMove( const ::MouseEvent& rMEvt ) { if ( !m_bCascading ) @@ -1088,14 +1067,12 @@ void SfxPopupWindow::MouseMove( const ::MouseEvent& rMEvt ) } - void SfxPopupWindow::StartCascading() { m_bCascading = true; } - void SfxPopupWindow::StateChanged( sal_uInt16 /*nSID*/, SfxItemState eState, @@ -1122,7 +1099,6 @@ void SfxPopupWindow::StateChanged( } - void SfxPopupWindow::Delete() { m_aDeleteLink.Call( this ); |