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 /svx/source/tbxctrls/fontworkgallery.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 'svx/source/tbxctrls/fontworkgallery.cxx')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index d92e3e57f65d..28cd5274fec0 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -229,7 +229,6 @@ void FontWorkGalleryDialog::insertSelectedFontwork() } - IMPL_LINK_NOARG_TYPED(FontWorkGalleryDialog, ClickOKHdl, Button*, void) { insertSelectedFontwork(); @@ -237,7 +236,6 @@ IMPL_LINK_NOARG_TYPED(FontWorkGalleryDialog, ClickOKHdl, Button*, void) } - IMPL_LINK_NOARG_TYPED(FontWorkGalleryDialog, DoubleClickFavoriteHdl, ValueSet*, void) { insertSelectedFontwork(); @@ -245,7 +243,6 @@ IMPL_LINK_NOARG_TYPED(FontWorkGalleryDialog, DoubleClickFavoriteHdl, ValueSet*, } - class FontworkAlignmentWindow : public ToolbarMenu { public: @@ -357,15 +354,12 @@ public: }; - - FontworkAlignmentControl::FontworkAlignmentControl( const Reference< XComponentContext >& rxContext ) : svt::PopupWindowController( rxContext, Reference< css::frame::XFrame >(), OUString( ".uno:FontworkAlignment" ) ) { } - VclPtr<vcl::Window> FontworkAlignmentControl::createPopupWindow( vcl::Window* pParent ) { return VclPtr<FontworkAlignmentWindow>::Create( *this, m_xFrame, pParent ); @@ -392,7 +386,6 @@ OUString SAL_CALL FontworkAlignmentControl_getImplementationName() } - Sequence< OUString > SAL_CALL FontworkAlignmentControl_getSupportedServiceNames() throw( RuntimeException ) { Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; @@ -400,21 +393,18 @@ Sequence< OUString > SAL_CALL FontworkAlignmentControl_getSupportedServiceNames( } - Reference< XInterface > SAL_CALL SAL_CALL FontworkAlignmentControl_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException ) { return *new FontworkAlignmentControl( comphelper::getComponentContext(rSMgr) ); } - OUString SAL_CALL FontworkAlignmentControl::getImplementationName( ) throw (RuntimeException, std::exception) { return FontworkAlignmentControl_getImplementationName(); } - Sequence< OUString > SAL_CALL FontworkAlignmentControl::getSupportedServiceNames( ) throw (RuntimeException, std::exception) { return FontworkAlignmentControl_getSupportedServiceNames(); @@ -488,7 +478,6 @@ void FontworkCharacterSpacingWindow::implSetCharacterSpacing( sal_Int32 nCharact } - void FontworkCharacterSpacingWindow::implSetKernCharacterPairs( bool, bool bEnabled ) { enableEntry( 6, bEnabled ); @@ -496,7 +485,6 @@ void FontworkCharacterSpacingWindow::implSetKernCharacterPairs( bool, bool bEnab } - void FontworkCharacterSpacingWindow::statusChanged( const css::frame::FeatureStateEvent& Event ) throw ( css::uno::RuntimeException ) { if( Event.FeatureURL.Main.equals( msFontworkCharacterSpacing ) ) @@ -528,7 +516,6 @@ void FontworkCharacterSpacingWindow::statusChanged( const css::frame::FeatureSta } - IMPL_LINK_NOARG_TYPED(FontworkCharacterSpacingWindow, SelectHdl,ToolbarMenu*, void) { if ( IsInPopupMode() ) @@ -600,7 +587,6 @@ FontworkCharacterSpacingControl::FontworkCharacterSpacingControl( const Referenc } - VclPtr<vcl::Window> FontworkCharacterSpacingControl::createPopupWindow( vcl::Window* pParent ) { return VclPtr<FontworkCharacterSpacingWindow>::Create( *this, m_xFrame, pParent ); @@ -627,7 +613,6 @@ OUString SAL_CALL FontworkCharacterSpacingControl_getImplementationName() } - Sequence< OUString > SAL_CALL FontworkCharacterSpacingControl_getSupportedServiceNames() throw( RuntimeException ) { Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; @@ -635,21 +620,18 @@ Sequence< OUString > SAL_CALL FontworkCharacterSpacingControl_getSupportedServic } - Reference< XInterface > SAL_CALL SAL_CALL FontworkCharacterSpacingControl_createInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( RuntimeException ) { return *new FontworkCharacterSpacingControl( comphelper::getComponentContext(rSMgr) ); } - OUString SAL_CALL FontworkCharacterSpacingControl::getImplementationName( ) throw (RuntimeException, std::exception) { return FontworkCharacterSpacingControl_getImplementationName(); } - Sequence< OUString > SAL_CALL FontworkCharacterSpacingControl::getSupportedServiceNames( ) throw (RuntimeException, std::exception) { return FontworkCharacterSpacingControl_getSupportedServiceNames(); |