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 /accessibility/source/standard/vclxaccessiblestatusbaritem.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 'accessibility/source/standard/vclxaccessiblestatusbaritem.cxx')
-rw-r--r-- | accessibility/source/standard/vclxaccessiblestatusbaritem.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx index 262da8c1cb15..0f4c1b1f5eef 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx @@ -44,7 +44,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class VCLXAccessibleStatusBarItem @@ -61,7 +60,6 @@ VCLXAccessibleStatusBarItem::VCLXAccessibleStatusBarItem( StatusBar* pStatusBar, } - VCLXAccessibleStatusBarItem::~VCLXAccessibleStatusBarItem() { delete m_pExternalLock; @@ -69,7 +67,6 @@ VCLXAccessibleStatusBarItem::~VCLXAccessibleStatusBarItem() } - bool VCLXAccessibleStatusBarItem::IsShowing() { bool bShowing = false; @@ -81,7 +78,6 @@ bool VCLXAccessibleStatusBarItem::IsShowing() } - void VCLXAccessibleStatusBarItem::SetShowing( bool bShowing ) { if ( m_bShowing != bShowing ) @@ -97,7 +93,6 @@ void VCLXAccessibleStatusBarItem::SetShowing( bool bShowing ) } - void VCLXAccessibleStatusBarItem::SetItemName( const OUString& sItemName ) { if ( !m_sItemName.equals( sItemName ) ) @@ -111,7 +106,6 @@ void VCLXAccessibleStatusBarItem::SetItemName( const OUString& sItemName ) } - OUString VCLXAccessibleStatusBarItem::GetItemName() { OUString sName; @@ -122,7 +116,6 @@ OUString VCLXAccessibleStatusBarItem::GetItemName() } - void VCLXAccessibleStatusBarItem::SetItemText( const OUString& sItemText ) { Any aOldValue, aNewValue; @@ -134,7 +127,6 @@ void VCLXAccessibleStatusBarItem::SetItemText( const OUString& sItemText ) } - OUString VCLXAccessibleStatusBarItem::GetItemText() { OUString sText; @@ -150,7 +142,6 @@ OUString VCLXAccessibleStatusBarItem::GetItemText() } - void VCLXAccessibleStatusBarItem::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { rStateSet.AddState( AccessibleStateType::ENABLED ); @@ -186,14 +177,12 @@ OUString VCLXAccessibleStatusBarItem::implGetText() } - lang::Locale VCLXAccessibleStatusBarItem::implGetLocale() { return Application::GetSettings().GetLanguageTag().getLocale(); } - void VCLXAccessibleStatusBarItem::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) { nStartIndex = 0; @@ -235,14 +224,12 @@ OUString VCLXAccessibleStatusBarItem::getImplementationName() throw (RuntimeExce } - sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } - Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBarItem" }; @@ -272,7 +259,6 @@ sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleChildCount() throw (RuntimeE } - Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -284,7 +270,6 @@ Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleChild( sal_In } - Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -297,7 +282,6 @@ Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleParent( ) th } - sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -310,7 +294,6 @@ sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleIndexInParent( ) throw (Run } - sal_Int16 VCLXAccessibleStatusBarItem::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -319,7 +302,6 @@ sal_Int16 VCLXAccessibleStatusBarItem::getAccessibleRole( ) throw (RuntimeExcep } - OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -332,7 +314,6 @@ OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) throw (Runtim } - OUString VCLXAccessibleStatusBarItem::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -341,7 +322,6 @@ OUString VCLXAccessibleStatusBarItem::getAccessibleName( ) throw (RuntimeExcept } - Reference< XAccessibleRelationSet > VCLXAccessibleStatusBarItem::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -352,7 +332,6 @@ Reference< XAccessibleRelationSet > VCLXAccessibleStatusBarItem::getAccessibleRe } - Reference< XAccessibleStateSet > VCLXAccessibleStatusBarItem::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -373,7 +352,6 @@ Reference< XAccessibleStateSet > VCLXAccessibleStatusBarItem::getAccessibleState } - Locale VCLXAccessibleStatusBarItem::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -393,14 +371,12 @@ Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleAtPoint( cons } - void VCLXAccessibleStatusBarItem::grabFocus( ) throw (RuntimeException, std::exception) { // no focus for status bar items } - sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -418,7 +394,6 @@ sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeExceptio } - sal_Int32 VCLXAccessibleStatusBarItem::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -456,7 +431,6 @@ Reference< awt::XFont > VCLXAccessibleStatusBarItem::getFont( ) throw (RuntimeE } - OUString VCLXAccessibleStatusBarItem::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -465,7 +439,6 @@ OUString VCLXAccessibleStatusBarItem::getTitledBorderText( ) throw (RuntimeExce } - OUString VCLXAccessibleStatusBarItem::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -485,7 +458,6 @@ sal_Int32 VCLXAccessibleStatusBarItem::getCaretPosition() throw (RuntimeExceptio } - sal_Bool VCLXAccessibleStatusBarItem::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -497,7 +469,6 @@ sal_Bool VCLXAccessibleStatusBarItem::setCaretPosition( sal_Int32 nIndex ) throw } - Sequence< PropertyValue > VCLXAccessibleStatusBarItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -521,7 +492,6 @@ Sequence< PropertyValue > VCLXAccessibleStatusBarItem::getCharacterAttributes( s } - awt::Rectangle VCLXAccessibleStatusBarItem::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -544,7 +514,6 @@ awt::Rectangle VCLXAccessibleStatusBarItem::getCharacterBounds( sal_Int32 nIndex } - sal_Int32 VCLXAccessibleStatusBarItem::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -564,7 +533,6 @@ sal_Int32 VCLXAccessibleStatusBarItem::getIndexAtPoint( const awt::Point& aPoint } - sal_Bool VCLXAccessibleStatusBarItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -576,7 +544,6 @@ sal_Bool VCLXAccessibleStatusBarItem::setSelection( sal_Int32 nStartIndex, sal_I } - sal_Bool VCLXAccessibleStatusBarItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -607,5 +574,4 @@ sal_Bool VCLXAccessibleStatusBarItem::copyText( sal_Int32 nStartIndex, sal_Int32 } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |