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 | |
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 'accessibility/source')
47 files changed, 0 insertions, 554 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBox.cxx b/accessibility/source/extended/AccessibleBrowseBox.cxx index c62135998593..c1edec8deddc 100644 --- a/accessibility/source/extended/AccessibleBrowseBox.cxx +++ b/accessibility/source/extended/AccessibleBrowseBox.cxx @@ -353,7 +353,6 @@ bool AccessibleBrowseBoxAccess::isContextAlive() const } - } // namespace accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx index 99f8d7cd42db..3387cbb91e30 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx @@ -27,7 +27,6 @@ #include <unotools/accessiblerelationsethelper.hxx> - using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; @@ -38,8 +37,6 @@ using namespace ::comphelper; using namespace ::svt; - - namespace accessibility { using namespace com::sun::star::accessibility::AccessibleStateType; @@ -575,9 +572,7 @@ BrowseBoxAccessibleElement::~BrowseBoxAccessibleElement( ) } - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx index 22b0ebcdf128..07225c233181 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx @@ -22,7 +22,6 @@ #include <comphelper/servicehelper.hxx> - using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; @@ -32,11 +31,9 @@ using namespace ::com::sun::star::accessibility; using namespace ::svt; - namespace accessibility { - // Ctor/Dtor/disposing -------------------------------------------------------- AccessibleBrowseBoxHeaderBar::AccessibleBrowseBoxHeaderBar( @@ -384,9 +381,7 @@ void AccessibleBrowseBoxHeaderBar::ensureIsValidHeaderIndex( sal_Int32 nIndex ) } - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx index 65e707ca86cc..c7332aafbea2 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx @@ -161,5 +161,4 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderCell::getAccessibleIndexInParent() } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx index 4bf01ef380f7..9e35902bf565 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx @@ -21,7 +21,6 @@ #include <svtools/accessibletableprovider.hxx> - using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; @@ -31,11 +30,9 @@ using namespace ::com::sun::star::accessibility; using namespace ::svt; - namespace accessibility { - // Ctor/Dtor/disposing -------------------------------------------------------- AccessibleBrowseBoxTable::AccessibleBrowseBoxTable( @@ -246,9 +243,7 @@ Reference< XAccessibleTable > AccessibleBrowseBoxTable::implGetHeaderBar( } - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx index 7b65f04e8d77..43faaca52cdc 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx @@ -24,7 +24,6 @@ #include <comphelper/servicehelper.hxx> - using css::uno::Reference; using css::uno::Sequence; using css::uno::Any; @@ -34,11 +33,9 @@ using namespace ::com::sun::star::accessibility; using namespace ::svt; - namespace accessibility { - // Ctor/Dtor/disposing -------------------------------------------------------- AccessibleBrowseBoxTableBase::AccessibleBrowseBoxTableBase( @@ -328,9 +325,7 @@ void AccessibleBrowseBoxTableBase::ensureIsValidIndex( sal_Int32 nChildIndex ) } - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleGridControl.cxx b/accessibility/source/extended/AccessibleGridControl.cxx index 82fe8f324ec4..5c32dcf0ac5a 100644 --- a/accessibility/source/extended/AccessibleGridControl.cxx +++ b/accessibility/source/extended/AccessibleGridControl.cxx @@ -28,12 +28,10 @@ #include <toolkit/helper/vclunohelper.hxx> - namespace accessibility { - using namespace ::com::sun::star::uno; using namespace ::com::sun::star; using namespace ::com::sun::star::lang; @@ -391,7 +389,6 @@ void AccessibleGridControl::commitTableEvent(sal_Int16 _nEventId,const Any& _rNe // = AccessibleGridControlAccess - AccessibleGridControlAccess::AccessibleGridControlAccess( const css::uno::Reference< css::accessibility::XAccessible >& rxParent, ::svt::table::IAccessibleTable& rTable ) : m_xParent( rxParent ) @@ -442,7 +439,6 @@ bool AccessibleGridControlAccess::isContextAlive() const } - } // namespace accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleGridControlBase.cxx b/accessibility/source/extended/AccessibleGridControlBase.cxx index 017426ed5700..3f858f6968ae 100644 --- a/accessibility/source/extended/AccessibleGridControlBase.cxx +++ b/accessibility/source/extended/AccessibleGridControlBase.cxx @@ -479,9 +479,7 @@ GridControlAccessibleElement::~GridControlAccessibleElement( ) } - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleGridControlHeader.cxx b/accessibility/source/extended/AccessibleGridControlHeader.cxx index 7e43f46ba85a..4367ee75b796 100644 --- a/accessibility/source/extended/AccessibleGridControlHeader.cxx +++ b/accessibility/source/extended/AccessibleGridControlHeader.cxx @@ -24,8 +24,6 @@ #include <comphelper/servicehelper.hxx> - - using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; @@ -38,11 +36,9 @@ using namespace ::svt; using namespace ::svt::table; - namespace accessibility { - AccessibleGridControlHeader::AccessibleGridControlHeader( const Reference< XAccessible >& rxParent, ::svt::table::IAccessibleTable& rTable, diff --git a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx index 0e5168f52335..0ce82c76adaa 100644 --- a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx +++ b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx @@ -115,7 +115,6 @@ Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleC } - /** Grabs the focus to the column header. */ void SAL_CALL AccessibleGridControlHeaderCell::grabFocus() throw ( css::uno::RuntimeException, std::exception ) @@ -170,5 +169,4 @@ sal_Int32 SAL_CALL AccessibleGridControlHeaderCell::getAccessibleIndexInParent() } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index 20df49fd0a6d..faff58d6018e 100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -22,7 +22,6 @@ #include <svtools/accessibletable.hxx> - using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; @@ -36,7 +35,6 @@ using namespace ::svt::table; namespace accessibility { - AccessibleGridControlTable::AccessibleGridControlTable( const Reference< XAccessible >& rxParent, IAccessibleTable& rTable, @@ -390,10 +388,7 @@ Reference< XAccessibleTable > AccessibleGridControlTable::implGetHeaderBar( } - - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleGridControlTableBase.cxx b/accessibility/source/extended/AccessibleGridControlTableBase.cxx index 6f30fd7bbbf6..a226b6e9c9ff 100644 --- a/accessibility/source/extended/AccessibleGridControlTableBase.cxx +++ b/accessibility/source/extended/AccessibleGridControlTableBase.cxx @@ -24,7 +24,6 @@ #include <comphelper/servicehelper.hxx> - using css::uno::Reference; using css::uno::Sequence; using css::uno::Any; @@ -35,11 +34,9 @@ using namespace ::svt; using namespace ::svt::table; - namespace accessibility { - AccessibleGridControlTableBase::AccessibleGridControlTableBase( const Reference< XAccessible >& rxParent, IAccessibleTable& rTable, @@ -272,9 +269,7 @@ void AccessibleGridControlTableBase::ensureIsValidIndex( sal_Int32 nChildIndex ) } - } // namespace accessibility - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx index 0c77a582e716..30b941ead583 100644 --- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx +++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx @@ -48,7 +48,6 @@ namespace accessibility using namespace ::svt::table; - // = AccessibleGridControlCell diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index f49fc0e3a761..97d09a289901 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -106,7 +106,6 @@ namespace accessibility } - Rectangle AccessibleListBoxEntry::GetBoundingBox_Impl() const { Rectangle aRect; @@ -1124,7 +1123,6 @@ namespace accessibility } - sal_Bool AccessibleListBoxEntry::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -1156,7 +1154,6 @@ namespace accessibility } - Any AccessibleListBoxEntry::getMaximumValue( ) throw (RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -1177,7 +1174,6 @@ namespace accessibility } - Any AccessibleListBoxEntry::getMinimumValue( ) throw (RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -1198,7 +1194,6 @@ namespace accessibility } - SvTreeListEntry* AccessibleListBoxEntry::GetRealChild(sal_Int32 nIndex) { SvTreeListEntry* pEntry = nullptr; diff --git a/accessibility/source/extended/accessibletabbar.cxx b/accessibility/source/extended/accessibletabbar.cxx index 873a01370b0a..f35f73f29c0b 100644 --- a/accessibility/source/extended/accessibletabbar.cxx +++ b/accessibility/source/extended/accessibletabbar.cxx @@ -34,7 +34,6 @@ #include <vector> - namespace accessibility { @@ -57,13 +56,11 @@ namespace accessibility } - AccessibleTabBar::~AccessibleTabBar() { } - void AccessibleTabBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { Any aOldValue, aNewValue; @@ -119,7 +116,6 @@ namespace accessibility } - void AccessibleTabBar::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { if ( m_pTabBar ) @@ -198,14 +194,12 @@ namespace accessibility } - sal_Bool AccessibleTabBar::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } - Sequence< OUString > AccessibleTabBar::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBar" }; @@ -235,7 +229,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBar::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -270,7 +263,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBar::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -287,7 +279,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBar::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -314,7 +305,6 @@ namespace accessibility } - sal_Int16 AccessibleTabBar::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -323,7 +313,6 @@ namespace accessibility } - OUString AccessibleTabBar::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -336,7 +325,6 @@ namespace accessibility } - OUString AccessibleTabBar::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -349,7 +337,6 @@ namespace accessibility } - Reference< XAccessibleRelationSet > AccessibleTabBar::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -360,7 +347,6 @@ namespace accessibility } - Reference< XAccessibleStateSet > AccessibleTabBar::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -381,7 +367,6 @@ namespace accessibility } - Locale AccessibleTabBar::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -421,7 +406,6 @@ namespace accessibility } - void AccessibleTabBar::grabFocus( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -431,7 +415,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBar::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -456,7 +439,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBar::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -502,7 +484,6 @@ namespace accessibility } - OUString AccessibleTabBar::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -515,7 +496,6 @@ namespace accessibility } - OUString AccessibleTabBar::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -528,8 +508,6 @@ namespace accessibility } - - } // namespace accessibility diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx index 14df4a432f96..ad7f437d8002 100644 --- a/accessibility/source/extended/accessibletabbarpage.cxx +++ b/accessibility/source/extended/accessibletabbarpage.cxx @@ -30,7 +30,6 @@ #include <toolkit/helper/convert.hxx> - namespace accessibility { @@ -59,13 +58,11 @@ namespace accessibility } - AccessibleTabBarPage::~AccessibleTabBarPage() { } - bool AccessibleTabBarPage::IsEnabled() { OExternalLockGuard aGuard( this ); @@ -78,7 +75,6 @@ namespace accessibility } - bool AccessibleTabBarPage::IsShowing() { bool bShowing = false; @@ -90,7 +86,6 @@ namespace accessibility } - bool AccessibleTabBarPage::IsSelected() { bool bSelected = false; @@ -117,7 +112,6 @@ namespace accessibility } - void AccessibleTabBarPage::SetSelected( bool bSelected ) { if ( m_bSelected != bSelected ) @@ -133,7 +127,6 @@ namespace accessibility } - void AccessibleTabBarPage::SetPageText( const OUString& sPageText ) { if ( !m_sPageText.equals( sPageText ) ) @@ -147,7 +140,6 @@ namespace accessibility } - void AccessibleTabBarPage::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { if ( IsEnabled() ) @@ -230,14 +222,12 @@ namespace accessibility } - sal_Bool AccessibleTabBarPage::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } - Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPage" }; @@ -267,7 +257,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBarPage::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -279,7 +268,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBarPage::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -288,7 +276,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBarPage::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -301,7 +288,6 @@ namespace accessibility } - sal_Int16 AccessibleTabBarPage::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -310,7 +296,6 @@ namespace accessibility } - OUString AccessibleTabBarPage::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -323,7 +308,6 @@ namespace accessibility } - OUString AccessibleTabBarPage::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -332,7 +316,6 @@ namespace accessibility } - Reference< XAccessibleRelationSet > AccessibleTabBarPage::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -343,7 +326,6 @@ namespace accessibility } - Reference< XAccessibleStateSet > AccessibleTabBarPage::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -364,7 +346,6 @@ namespace accessibility } - Locale AccessibleTabBarPage::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -384,14 +365,12 @@ namespace accessibility } - void AccessibleTabBarPage::grabFocus( ) throw (RuntimeException, std::exception) { // no focus } - sal_Int32 AccessibleTabBarPage::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -409,7 +388,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBarPage::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -447,7 +425,6 @@ namespace accessibility } - OUString AccessibleTabBarPage::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -456,7 +433,6 @@ namespace accessibility } - OUString AccessibleTabBarPage::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -465,8 +441,6 @@ namespace accessibility } - - } // namespace accessibility diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx b/accessibility/source/extended/accessibletabbarpagelist.cxx index fce2aa4c6758..d0b89b9a6f6e 100644 --- a/accessibility/source/extended/accessibletabbarpagelist.cxx +++ b/accessibility/source/extended/accessibletabbarpagelist.cxx @@ -31,7 +31,6 @@ #include <toolkit/helper/convert.hxx> - namespace accessibility { @@ -55,7 +54,6 @@ namespace accessibility } - AccessibleTabBarPageList::~AccessibleTabBarPageList() { } @@ -75,7 +73,6 @@ namespace accessibility } - void AccessibleTabBarPageList::UpdateSelected( sal_Int32 i, bool bSelected ) { NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() ); @@ -93,7 +90,6 @@ namespace accessibility } - void AccessibleTabBarPageList::UpdatePageText( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -115,7 +111,6 @@ namespace accessibility } - void AccessibleTabBarPageList::InsertChild( sal_Int32 i ) { if ( i >= 0 && i <= (sal_Int32)m_aAccessibleChildren.size() ) @@ -135,7 +130,6 @@ namespace accessibility } - void AccessibleTabBarPageList::RemoveChild( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -161,7 +155,6 @@ namespace accessibility } - void AccessibleTabBarPageList::MoveChild( sal_Int32 i, sal_Int32 j ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() && @@ -182,7 +175,6 @@ namespace accessibility } - void AccessibleTabBarPageList::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -309,7 +301,6 @@ namespace accessibility } - void AccessibleTabBarPageList::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { if ( m_pTabBar ) @@ -380,14 +371,12 @@ namespace accessibility } - sal_Bool AccessibleTabBarPageList::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } - Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPageList" }; @@ -417,7 +406,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBarPageList::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -443,7 +431,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBarPageList::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -456,7 +443,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBarPageList::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -465,7 +451,6 @@ namespace accessibility } - sal_Int16 AccessibleTabBarPageList::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -474,7 +459,6 @@ namespace accessibility } - OUString AccessibleTabBarPageList::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -483,7 +467,6 @@ namespace accessibility } - OUString AccessibleTabBarPageList::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -492,7 +475,6 @@ namespace accessibility } - Reference< XAccessibleRelationSet > AccessibleTabBarPageList::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -503,7 +485,6 @@ namespace accessibility } - Reference< XAccessibleStateSet > AccessibleTabBarPageList::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -524,7 +505,6 @@ namespace accessibility } - Locale AccessibleTabBarPageList::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -564,14 +544,12 @@ namespace accessibility } - void AccessibleTabBarPageList::grabFocus( ) throw (RuntimeException, std::exception) { // no focus } - sal_Int32 AccessibleTabBarPageList::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -589,7 +567,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBarPageList::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -627,7 +604,6 @@ namespace accessibility } - OUString AccessibleTabBarPageList::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -636,7 +612,6 @@ namespace accessibility } - OUString AccessibleTabBarPageList::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -665,7 +640,6 @@ namespace accessibility } - sal_Bool AccessibleTabBarPageList::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -681,14 +655,12 @@ namespace accessibility } - void AccessibleTabBarPageList::clearAccessibleSelection( ) throw (RuntimeException, std::exception) { // This method makes no sense in a TabBar, and so does nothing. } - void AccessibleTabBarPageList::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -697,7 +669,6 @@ namespace accessibility } - sal_Int32 AccessibleTabBarPageList::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -706,7 +677,6 @@ namespace accessibility } - Reference< XAccessible > AccessibleTabBarPageList::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -729,7 +699,6 @@ namespace accessibility } - void AccessibleTabBarPageList::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -741,8 +710,6 @@ namespace accessibility } - - } // namespace accessibility diff --git a/accessibility/source/helper/accresmgr.cxx b/accessibility/source/helper/accresmgr.cxx index 43dc9fedaeb4..25c5a515fd08 100644 --- a/accessibility/source/helper/accresmgr.cxx +++ b/accessibility/source/helper/accresmgr.cxx @@ -31,14 +31,12 @@ using namespace accessibility; SimpleResMgr* TkResMgr::m_pImpl = nullptr; - TkResMgr::EnsureDelete::~EnsureDelete() { delete TkResMgr::m_pImpl; } - void TkResMgr::ensureImplExists() { if (m_pImpl) @@ -54,7 +52,6 @@ void TkResMgr::ensureImplExists() } - OUString TkResMgr::loadString( sal_uInt16 nResId ) { OUString sReturn; @@ -67,5 +64,4 @@ OUString TkResMgr::loadString( sal_uInt16 nResId ) } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/accessiblemenubasecomponent.cxx b/accessibility/source/standard/accessiblemenubasecomponent.cxx index 6dfa824ac27f..1e032f6dfe78 100644 --- a/accessibility/source/standard/accessiblemenubasecomponent.cxx +++ b/accessibility/source/standard/accessiblemenubasecomponent.cxx @@ -40,7 +40,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // OAccessibleMenuBaseComponent @@ -63,7 +62,6 @@ OAccessibleMenuBaseComponent::OAccessibleMenuBaseComponent( Menu* pMenu ) } - OAccessibleMenuBaseComponent::~OAccessibleMenuBaseComponent() { if ( m_pMenu ) @@ -74,42 +72,36 @@ OAccessibleMenuBaseComponent::~OAccessibleMenuBaseComponent() } - bool OAccessibleMenuBaseComponent::IsEnabled() { return false; } - bool OAccessibleMenuBaseComponent::IsFocused() { return false; } - bool OAccessibleMenuBaseComponent::IsVisible() { return false; } - bool OAccessibleMenuBaseComponent::IsSelected() { return false; } - bool OAccessibleMenuBaseComponent::IsChecked() { return false; } - void OAccessibleMenuBaseComponent::SetStates() { m_bEnabled = IsEnabled(); @@ -120,7 +112,6 @@ void OAccessibleMenuBaseComponent::SetStates() } - void OAccessibleMenuBaseComponent::SetEnabled( bool bEnabled ) { if ( m_bEnabled != bEnabled ) @@ -148,7 +139,6 @@ void OAccessibleMenuBaseComponent::SetEnabled( bool bEnabled ) } - void OAccessibleMenuBaseComponent::SetFocused( bool bFocused ) { if ( m_bFocused != bFocused ) @@ -164,7 +154,6 @@ void OAccessibleMenuBaseComponent::SetFocused( bool bFocused ) } - void OAccessibleMenuBaseComponent::SetVisible( bool bVisible ) { if ( m_bVisible != bVisible ) @@ -180,7 +169,6 @@ void OAccessibleMenuBaseComponent::SetVisible( bool bVisible ) } - void OAccessibleMenuBaseComponent::SetSelected( bool bSelected ) { if ( m_bSelected != bSelected ) @@ -196,7 +184,6 @@ void OAccessibleMenuBaseComponent::SetSelected( bool bSelected ) } - void OAccessibleMenuBaseComponent::SetChecked( bool bChecked ) { if ( m_bChecked != bChecked ) @@ -212,7 +199,6 @@ void OAccessibleMenuBaseComponent::SetChecked( bool bChecked ) } - void OAccessibleMenuBaseComponent::UpdateEnabled( sal_Int32 i, bool bEnabled ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -228,7 +214,6 @@ void OAccessibleMenuBaseComponent::UpdateEnabled( sal_Int32 i, bool bEnabled ) } - void OAccessibleMenuBaseComponent::UpdateFocused( sal_Int32 i, bool bFocused ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -244,7 +229,6 @@ void OAccessibleMenuBaseComponent::UpdateFocused( sal_Int32 i, bool bFocused ) } - void OAccessibleMenuBaseComponent::UpdateVisible() { SetVisible( IsVisible() ); @@ -261,7 +245,6 @@ void OAccessibleMenuBaseComponent::UpdateVisible() } - void OAccessibleMenuBaseComponent::UpdateSelected( sal_Int32 i, bool bSelected ) { NotifyAccessibleEvent( AccessibleEventId::SELECTION_CHANGED, Any(), Any() ); @@ -279,7 +262,6 @@ void OAccessibleMenuBaseComponent::UpdateSelected( sal_Int32 i, bool bSelected ) } - void OAccessibleMenuBaseComponent::UpdateChecked( sal_Int32 i, bool bChecked ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -295,7 +277,6 @@ void OAccessibleMenuBaseComponent::UpdateChecked( sal_Int32 i, bool bChecked ) } - void OAccessibleMenuBaseComponent::UpdateAccessibleName( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -311,7 +292,6 @@ void OAccessibleMenuBaseComponent::UpdateAccessibleName( sal_Int32 i ) } - void OAccessibleMenuBaseComponent::UpdateItemText( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -327,14 +307,12 @@ void OAccessibleMenuBaseComponent::UpdateItemText( sal_Int32 i ) } - sal_Int32 OAccessibleMenuBaseComponent::GetChildCount() { return m_aAccessibleChildren.size(); } - Reference< XAccessible > OAccessibleMenuBaseComponent::GetChild( sal_Int32 i ) { Reference< XAccessible > xChild = m_aAccessibleChildren[i]; @@ -377,7 +355,6 @@ Reference< XAccessible > OAccessibleMenuBaseComponent::GetChild( sal_Int32 i ) } - Reference< XAccessible > OAccessibleMenuBaseComponent::GetChildAt( const awt::Point& rPoint ) { Reference< XAccessible > xChild; @@ -404,7 +381,6 @@ Reference< XAccessible > OAccessibleMenuBaseComponent::GetChildAt( const awt::Po } - void OAccessibleMenuBaseComponent::InsertChild( sal_Int32 i ) { if ( i > (sal_Int32)m_aAccessibleChildren.size() ) @@ -439,7 +415,6 @@ void OAccessibleMenuBaseComponent::InsertChild( sal_Int32 i ) } - void OAccessibleMenuBaseComponent::RemoveChild( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -477,14 +452,12 @@ void OAccessibleMenuBaseComponent::RemoveChild( sal_Int32 i ) } - bool OAccessibleMenuBaseComponent::IsHighlighted() { return false; } - bool OAccessibleMenuBaseComponent::IsChildHighlighted() { bool bChildHighlighted = false; @@ -507,7 +480,6 @@ bool OAccessibleMenuBaseComponent::IsChildHighlighted() } - void OAccessibleMenuBaseComponent::SelectChild( sal_Int32 i ) { // open the menu @@ -520,7 +492,6 @@ void OAccessibleMenuBaseComponent::SelectChild( sal_Int32 i ) } - void OAccessibleMenuBaseComponent::DeSelectAll() { if ( m_pMenu ) @@ -528,7 +499,6 @@ void OAccessibleMenuBaseComponent::DeSelectAll() } - bool OAccessibleMenuBaseComponent::IsChildSelected( sal_Int32 i ) { bool bSelected = false; @@ -540,32 +510,27 @@ bool OAccessibleMenuBaseComponent::IsChildSelected( sal_Int32 i ) } - void OAccessibleMenuBaseComponent::Select() { } - void OAccessibleMenuBaseComponent::DeSelect() { } - void OAccessibleMenuBaseComponent::Click() { } - bool OAccessibleMenuBaseComponent::IsPopupMenuOpen() { return false; } - IMPL_LINK_TYPED( OAccessibleMenuBaseComponent, MenuEventListener, VclMenuEvent&, rEvent, void ) { OSL_ENSURE( rEvent.GetMenu(), "OAccessibleMenuBaseComponent - Menu?" ); @@ -573,7 +538,6 @@ IMPL_LINK_TYPED( OAccessibleMenuBaseComponent, MenuEventListener, VclMenuEvent&, } - void OAccessibleMenuBaseComponent::ProcessMenuEvent( const VclMenuEvent& rVclMenuEvent ) { sal_uInt16 nItemPos = rVclMenuEvent.GetItemPos(); @@ -762,7 +726,6 @@ Reference< XAccessibleStateSet > OAccessibleMenuBaseComponent::getAccessibleStat } - bool OAccessibleMenuBaseComponent::IsMenuHideDisabledEntries() { return false; diff --git a/accessibility/source/standard/accessiblemenucomponent.cxx b/accessibility/source/standard/accessiblemenucomponent.cxx index 63626fa28740..16fe428bd6bc 100644 --- a/accessibility/source/standard/accessiblemenucomponent.cxx +++ b/accessibility/source/standard/accessiblemenucomponent.cxx @@ -43,7 +43,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class OAccessibleMenuComponent @@ -53,20 +52,17 @@ OAccessibleMenuComponent::OAccessibleMenuComponent( Menu* pMenu ) } - OAccessibleMenuComponent::~OAccessibleMenuComponent() { } - bool OAccessibleMenuComponent::IsEnabled() { return true; } - bool OAccessibleMenuComponent::IsVisible() { bool bVisible = false; @@ -78,7 +74,6 @@ bool OAccessibleMenuComponent::IsVisible() } - void OAccessibleMenuComponent::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { if ( IsEnabled() ) @@ -162,7 +157,6 @@ sal_Int32 OAccessibleMenuComponent::getAccessibleChildCount() throw (RuntimeExce } - Reference< XAccessible > OAccessibleMenuComponent::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -174,7 +168,6 @@ Reference< XAccessible > OAccessibleMenuComponent::getAccessibleChild( sal_Int32 } - Reference< XAccessible > OAccessibleMenuComponent::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -196,7 +189,6 @@ Reference< XAccessible > OAccessibleMenuComponent::getAccessibleParent( ) throw } - sal_Int16 OAccessibleMenuComponent::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -205,7 +197,6 @@ sal_Int16 OAccessibleMenuComponent::getAccessibleRole( ) throw (RuntimeExceptio } - OUString OAccessibleMenuComponent::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -222,7 +213,6 @@ OUString OAccessibleMenuComponent::getAccessibleDescription( ) throw (RuntimeExc } - OUString OAccessibleMenuComponent::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -231,7 +221,6 @@ OUString OAccessibleMenuComponent::getAccessibleName( ) throw (RuntimeException } - Reference< XAccessibleRelationSet > OAccessibleMenuComponent::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -242,7 +231,6 @@ Reference< XAccessibleRelationSet > OAccessibleMenuComponent::getAccessibleRelat } - Locale OAccessibleMenuComponent::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -262,7 +250,6 @@ Reference< XAccessible > OAccessibleMenuComponent::getAccessibleAtPoint( const a } - awt::Point OAccessibleMenuComponent::getLocationOnScreen( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -283,7 +270,6 @@ awt::Point OAccessibleMenuComponent::getLocationOnScreen( ) throw (RuntimeExcep } - void OAccessibleMenuComponent::grabFocus( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -297,7 +283,6 @@ void OAccessibleMenuComponent::grabFocus( ) throw (RuntimeException, std::excep } - sal_Int32 OAccessibleMenuComponent::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -309,7 +294,6 @@ sal_Int32 OAccessibleMenuComponent::getForeground( ) throw (RuntimeException, s } - sal_Int32 OAccessibleMenuComponent::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -347,7 +331,6 @@ Reference< awt::XFont > OAccessibleMenuComponent::getFont( ) throw (RuntimeExce } - OUString OAccessibleMenuComponent::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -356,7 +339,6 @@ OUString OAccessibleMenuComponent::getTitledBorderText( ) throw (RuntimeExcepti } - OUString OAccessibleMenuComponent::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -379,7 +361,6 @@ void OAccessibleMenuComponent::selectAccessibleChild( sal_Int32 nChildIndex ) th } - sal_Bool OAccessibleMenuComponent::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -391,7 +372,6 @@ sal_Bool OAccessibleMenuComponent::isAccessibleChildSelected( sal_Int32 nChildIn } - void OAccessibleMenuComponent::clearAccessibleSelection( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -400,14 +380,12 @@ void OAccessibleMenuComponent::clearAccessibleSelection( ) throw (RuntimeExcept } - void OAccessibleMenuComponent::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) { // This method makes no sense in a menu, and so does nothing. } - sal_Int32 OAccessibleMenuComponent::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -424,7 +402,6 @@ sal_Int32 OAccessibleMenuComponent::getSelectedAccessibleChildCount( ) throw (R } - Reference< XAccessible > OAccessibleMenuComponent::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -447,7 +424,6 @@ Reference< XAccessible > OAccessibleMenuComponent::getSelectedAccessibleChild( s } - void OAccessibleMenuComponent::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -459,5 +435,4 @@ void OAccessibleMenuComponent::deselectAccessibleChild( sal_Int32 nChildIndex ) } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx index f2e1c78712b9..37f8da2b36aa 100644 --- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx +++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx @@ -51,7 +51,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class OAccessibleMenuItemComponent @@ -65,13 +64,11 @@ OAccessibleMenuItemComponent::OAccessibleMenuItemComponent( Menu* pParent, sal_u } - OAccessibleMenuItemComponent::~OAccessibleMenuItemComponent() { } - bool OAccessibleMenuItemComponent::IsEnabled() { OExternalLockGuard aGuard( this ); @@ -84,7 +81,6 @@ bool OAccessibleMenuItemComponent::IsEnabled() } - bool OAccessibleMenuItemComponent::IsVisible() { bool bVisible = false; @@ -96,7 +92,6 @@ bool OAccessibleMenuItemComponent::IsVisible() } - void OAccessibleMenuItemComponent::Select() { // open the parent menu @@ -114,7 +109,6 @@ void OAccessibleMenuItemComponent::Select() } - void OAccessibleMenuItemComponent::DeSelect() { if ( m_pParent && IsSelected() ) @@ -122,7 +116,6 @@ void OAccessibleMenuItemComponent::DeSelect() } - void OAccessibleMenuItemComponent::Click() { // open the parent menu @@ -170,14 +163,12 @@ void OAccessibleMenuItemComponent::Click() } - void OAccessibleMenuItemComponent::SetItemPos( sal_uInt16 nItemPos ) { m_nItemPos = nItemPos; } - void OAccessibleMenuItemComponent::SetAccessibleName( const OUString& sAccessibleName ) { if ( !m_sAccessibleName.equals( sAccessibleName ) ) @@ -191,7 +182,6 @@ void OAccessibleMenuItemComponent::SetAccessibleName( const OUString& sAccessibl } - OUString OAccessibleMenuItemComponent::GetAccessibleName() { OUString sName; @@ -212,7 +202,6 @@ OUString OAccessibleMenuItemComponent::GetAccessibleName() } - void OAccessibleMenuItemComponent::SetItemText( const OUString& sItemText ) { Any aOldValue, aNewValue; @@ -224,7 +213,6 @@ void OAccessibleMenuItemComponent::SetItemText( const OUString& sItemText ) } - OUString OAccessibleMenuItemComponent::GetItemText() { OUString sText; @@ -235,7 +223,6 @@ OUString OAccessibleMenuItemComponent::GetItemText() } - void OAccessibleMenuItemComponent::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { bool bEnabled = IsEnabled(); @@ -319,7 +306,6 @@ sal_Int32 OAccessibleMenuItemComponent::getAccessibleChildCount() throw (Runtime } - Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -331,7 +317,6 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_I } - Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -340,7 +325,6 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) t } - sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -349,7 +333,6 @@ sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) throw (Ru } - sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -358,7 +341,6 @@ sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeExce } - OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -371,7 +353,6 @@ OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (Runtim } - OUString OAccessibleMenuItemComponent::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -380,7 +361,6 @@ OUString OAccessibleMenuItemComponent::getAccessibleName( ) throw (RuntimeExcep } - Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -391,7 +371,6 @@ Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleR } - Locale OAccessibleMenuItemComponent::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -411,14 +390,12 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleAtPoint( con } - void OAccessibleMenuItemComponent::grabFocus( ) throw (RuntimeException, std::exception) { // no focus for items } - sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -436,7 +413,6 @@ sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeExceptio } - sal_Int32 OAccessibleMenuItemComponent::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -474,7 +450,6 @@ Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (Runtime } - OUString OAccessibleMenuItemComponent::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -483,7 +458,6 @@ OUString OAccessibleMenuItemComponent::getTitledBorderText( ) throw (RuntimeExc } - OUString OAccessibleMenuItemComponent::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -496,7 +470,6 @@ OUString OAccessibleMenuItemComponent::getToolTipText( ) throw (RuntimeExceptio } - bool OAccessibleMenuItemComponent::IsMenuHideDisabledEntries() { if (m_pParent ) diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx index 62c8a1804f66..66da4236b020 100644 --- a/accessibility/source/standard/vclxaccessiblebutton.cxx +++ b/accessibility/source/standard/vclxaccessiblebutton.cxx @@ -39,7 +39,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // VCLXAccessibleButton @@ -49,13 +48,11 @@ VCLXAccessibleButton::VCLXAccessibleButton( VCLXWindow* pVCLWindow ) } - VCLXAccessibleButton::~VCLXAccessibleButton() { } - void VCLXAccessibleButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -80,7 +77,6 @@ void VCLXAccessibleButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowE } - void VCLXAccessibleButton::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); @@ -130,7 +126,6 @@ OUString VCLXAccessibleButton::getImplementationName() throw (RuntimeException, } - Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleButton" }; @@ -187,7 +182,6 @@ sal_Int32 VCLXAccessibleButton::getAccessibleActionCount( ) throw (RuntimeExcept } - sal_Bool VCLXAccessibleButton::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -203,7 +197,6 @@ sal_Bool VCLXAccessibleButton::doAccessibleAction ( sal_Int32 nIndex ) throw (In } - OUString VCLXAccessibleButton::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -215,7 +208,6 @@ OUString VCLXAccessibleButton::getAccessibleActionDescription ( sal_Int32 nIndex } - Reference< XAccessibleKeyBinding > VCLXAccessibleButton::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -271,7 +263,6 @@ Any VCLXAccessibleButton::getCurrentValue( ) throw (RuntimeException, std::exce } - sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -297,7 +288,6 @@ sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (Runt } - Any VCLXAccessibleButton::getMaximumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -309,7 +299,6 @@ Any VCLXAccessibleButton::getMaximumValue( ) throw (RuntimeException, std::exce } - Any VCLXAccessibleButton::getMinimumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -321,5 +310,4 @@ Any VCLXAccessibleButton::getMinimumValue( ) throw (RuntimeException, std::exce } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx index bc77d1cf4227..c54e064d94b5 100644 --- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx +++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx @@ -41,7 +41,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // VCLXAccessibleCheckBox @@ -53,13 +52,11 @@ VCLXAccessibleCheckBox::VCLXAccessibleCheckBox( VCLXWindow* pVCLWindow ) } - VCLXAccessibleCheckBox::~VCLXAccessibleCheckBox() { } - bool VCLXAccessibleCheckBox::IsChecked() { bool bChecked = false; @@ -72,7 +69,6 @@ bool VCLXAccessibleCheckBox::IsChecked() } - bool VCLXAccessibleCheckBox::IsIndeterminate() { bool bIndeterminate = false; @@ -85,7 +81,6 @@ bool VCLXAccessibleCheckBox::IsIndeterminate() } - void VCLXAccessibleCheckBox::SetChecked( bool bChecked ) { if ( m_bChecked != bChecked ) @@ -101,7 +96,6 @@ void VCLXAccessibleCheckBox::SetChecked( bool bChecked ) } - void VCLXAccessibleCheckBox::SetIndeterminate( bool bIndeterminate ) { if ( m_bIndeterminate != bIndeterminate ) @@ -117,7 +111,6 @@ void VCLXAccessibleCheckBox::SetIndeterminate( bool bIndeterminate ) } - void VCLXAccessibleCheckBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -134,7 +127,6 @@ void VCLXAccessibleCheckBox::ProcessWindowEvent( const VclWindowEvent& rVclWindo } - void VCLXAccessibleCheckBox::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); @@ -170,7 +162,6 @@ OUString VCLXAccessibleCheckBox::getImplementationName() throw (RuntimeException } - Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleCheckBox" }; @@ -189,7 +180,6 @@ sal_Int32 VCLXAccessibleCheckBox::getAccessibleActionCount( ) throw (RuntimeExce } - sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -221,7 +211,6 @@ sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw ( } - OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -236,7 +225,6 @@ OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nInd } - Reference< XAccessibleKeyBinding > VCLXAccessibleCheckBox::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -292,7 +280,6 @@ Any VCLXAccessibleCheckBox::getCurrentValue( ) throw (RuntimeException, std::ex } - sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -320,7 +307,6 @@ sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) throw (Ru } - Any VCLXAccessibleCheckBox::getMaximumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -337,7 +323,6 @@ Any VCLXAccessibleCheckBox::getMaximumValue( ) throw (RuntimeException, std::ex } - Any VCLXAccessibleCheckBox::getMinimumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -349,5 +334,4 @@ Any VCLXAccessibleCheckBox::getMinimumValue( ) throw (RuntimeException, std::ex } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx index b030a1d3f0ec..1da4234a4f6b 100644 --- a/accessibility/source/standard/vclxaccessiblecombobox.cxx +++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx @@ -37,8 +37,6 @@ VCLXAccessibleComboBox::VCLXAccessibleComboBox (VCLXWindow* pVCLWindow) } - - VCLXAccessibleComboBox::~VCLXAccessibleComboBox() { } @@ -54,7 +52,6 @@ void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindo } - // XServiceInfo OUString VCLXAccessibleComboBox::getImplementationName() @@ -64,8 +61,6 @@ OUString VCLXAccessibleComboBox::getImplementationName() } - - Sequence< OUString > VCLXAccessibleComboBox::getSupportedServiceNames() throw (RuntimeException, std::exception) { diff --git a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx index cb58fddfd145..54c245cbb6ba 100644 --- a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx @@ -51,8 +51,6 @@ VCLXAccessibleDropDownComboBox::VCLXAccessibleDropDownComboBox (VCLXWindow* pVCL } - - VCLXAccessibleDropDownComboBox::~VCLXAccessibleDropDownComboBox() { } @@ -78,8 +76,6 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r } - - // XServiceInfo OUString VCLXAccessibleDropDownComboBox::getImplementationName() @@ -89,8 +85,6 @@ OUString VCLXAccessibleDropDownComboBox::getImplementationName() } - - Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames() throw (RuntimeException, std::exception) { diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx index 2a563cef5ebc..67d060f46806 100644 --- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx @@ -50,8 +50,6 @@ VCLXAccessibleDropDownListBox::VCLXAccessibleDropDownListBox (VCLXWindow* pVCLWi } - - VCLXAccessibleDropDownListBox::~VCLXAccessibleDropDownListBox() { } @@ -67,8 +65,6 @@ void VCLXAccessibleDropDownListBox::ProcessWindowEvent( const VclWindowEvent& rV } - - // XServiceInfo OUString VCLXAccessibleDropDownListBox::getImplementationName() @@ -78,8 +74,6 @@ OUString VCLXAccessibleDropDownListBox::getImplementationName() } - - Sequence< OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames() throw (RuntimeException, std::exception) { diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx index 26d1381caa7a..9ef00251c6ad 100644 --- a/accessibility/source/standard/vclxaccessibleedit.cxx +++ b/accessibility/source/standard/vclxaccessibleedit.cxx @@ -49,7 +49,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // VCLXAccessibleEdit @@ -61,13 +60,11 @@ VCLXAccessibleEdit::VCLXAccessibleEdit( VCLXWindow* pVCLWindow ) } - VCLXAccessibleEdit::~VCLXAccessibleEdit() { } - void VCLXAccessibleEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -110,7 +107,6 @@ void VCLXAccessibleEdit::ProcessWindowEvent( const VclWindowEvent& rVclWindowEve } - void VCLXAccessibleEdit::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); @@ -153,7 +149,6 @@ OUString VCLXAccessibleEdit::implGetText() } - void VCLXAccessibleEdit::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) { awt::Selection aSelection; @@ -187,7 +182,6 @@ OUString VCLXAccessibleEdit::getImplementationName() throw (RuntimeException, st } - Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleEdit" }; @@ -206,7 +200,6 @@ sal_Int32 VCLXAccessibleEdit::getAccessibleChildCount() throw (RuntimeException, } - Reference< XAccessible > VCLXAccessibleEdit::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -218,7 +211,6 @@ Reference< XAccessible > VCLXAccessibleEdit::getAccessibleChild( sal_Int32 i ) t } - sal_Int16 VCLXAccessibleEdit::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -246,7 +238,6 @@ sal_Int32 VCLXAccessibleEdit::getAccessibleActionCount( ) throw (RuntimeExceptio } - sal_Bool VCLXAccessibleEdit::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -266,7 +257,6 @@ sal_Bool VCLXAccessibleEdit::doAccessibleAction ( sal_Int32 nIndex ) throw (Inde } - OUString VCLXAccessibleEdit::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -278,7 +268,6 @@ OUString VCLXAccessibleEdit::getAccessibleActionDescription ( sal_Int32 nIndex ) } - Reference< XAccessibleKeyBinding > VCLXAccessibleEdit::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -299,14 +288,12 @@ sal_Int32 VCLXAccessibleEdit::getCaretPosition( ) throw (RuntimeException, std: } - sal_Bool VCLXAccessibleEdit::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { return setSelection( nIndex, nIndex ); } - sal_Unicode VCLXAccessibleEdit::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -315,7 +302,6 @@ sal_Unicode VCLXAccessibleEdit::getCharacter( sal_Int32 nIndex ) throw (IndexOut } - Sequence< PropertyValue > VCLXAccessibleEdit::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -324,7 +310,6 @@ Sequence< PropertyValue > VCLXAccessibleEdit::getCharacterAttributes( sal_Int32 } - awt::Rectangle VCLXAccessibleEdit::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -367,7 +352,6 @@ awt::Rectangle VCLXAccessibleEdit::getCharacterBounds( sal_Int32 nIndex ) throw } - sal_Int32 VCLXAccessibleEdit::getCharacterCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -376,7 +360,6 @@ sal_Int32 VCLXAccessibleEdit::getCharacterCount( ) throw (RuntimeException, std } - sal_Int32 VCLXAccessibleEdit::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -385,7 +368,6 @@ sal_Int32 VCLXAccessibleEdit::getIndexAtPoint( const awt::Point& aPoint ) throw } - OUString VCLXAccessibleEdit::getSelectedText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -394,7 +376,6 @@ OUString VCLXAccessibleEdit::getSelectedText( ) throw (RuntimeException, std::e } - sal_Int32 VCLXAccessibleEdit::getSelectionStart( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -403,7 +384,6 @@ sal_Int32 VCLXAccessibleEdit::getSelectionStart( ) throw (RuntimeException, std } - sal_Int32 VCLXAccessibleEdit::getSelectionEnd( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -412,7 +392,6 @@ sal_Int32 VCLXAccessibleEdit::getSelectionEnd( ) throw (RuntimeException, std:: } - sal_Bool VCLXAccessibleEdit::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -435,7 +414,6 @@ sal_Bool VCLXAccessibleEdit::setSelection( sal_Int32 nStartIndex, sal_Int32 nEnd } - OUString VCLXAccessibleEdit::getText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -444,7 +422,6 @@ OUString VCLXAccessibleEdit::getText( ) throw (RuntimeException, std::exception } - OUString VCLXAccessibleEdit::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -453,7 +430,6 @@ OUString VCLXAccessibleEdit::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEnd } - css::accessibility::TextSegment VCLXAccessibleEdit::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -462,7 +438,6 @@ css::accessibility::TextSegment VCLXAccessibleEdit::getTextAtIndex( sal_Int32 nI } - css::accessibility::TextSegment VCLXAccessibleEdit::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -471,7 +446,6 @@ css::accessibility::TextSegment VCLXAccessibleEdit::getTextBeforeIndex( sal_Int3 } - css::accessibility::TextSegment VCLXAccessibleEdit::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -480,7 +454,6 @@ css::accessibility::TextSegment VCLXAccessibleEdit::getTextBehindIndex( sal_Int3 } - sal_Bool VCLXAccessibleEdit::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -500,7 +473,6 @@ sal_Bool VCLXAccessibleEdit::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex } - sal_Bool VCLXAccessibleEdit::pasteText( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -536,7 +508,6 @@ sal_Bool VCLXAccessibleEdit::pasteText( sal_Int32 nIndex ) throw (IndexOutOfBoun } - sal_Bool VCLXAccessibleEdit::deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -545,7 +516,6 @@ sal_Bool VCLXAccessibleEdit::deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIn } - sal_Bool VCLXAccessibleEdit::insertText( const OUString& sText, sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -554,7 +524,6 @@ sal_Bool VCLXAccessibleEdit::insertText( const OUString& sText, sal_Int32 nIndex } - sal_Bool VCLXAccessibleEdit::replaceText( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const OUString& sReplacement ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -581,7 +550,6 @@ sal_Bool VCLXAccessibleEdit::replaceText( sal_Int32 nStartIndex, sal_Int32 nEndI } - sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const Sequence<PropertyValue>& ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -593,7 +561,6 @@ sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEn } - sal_Bool VCLXAccessibleEdit::setText( const OUString& sText ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -611,5 +578,4 @@ sal_Bool VCLXAccessibleEdit::setText( const OUString& sText ) throw (RuntimeExce } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx index 7f2f58cf38fb..9e2580f0594c 100644 --- a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx +++ b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx @@ -31,20 +31,17 @@ VCLXAccessibleFixedHyperlink::VCLXAccessibleFixedHyperlink( VCLXWindow* pVCLWind } - VCLXAccessibleFixedHyperlink::~VCLXAccessibleFixedHyperlink() { } - void VCLXAccessibleFixedHyperlink::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); } - void VCLXAccessibleFixedHyperlink::implGetLineBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) { // TODO @@ -61,12 +58,10 @@ OUString VCLXAccessibleFixedHyperlink::getImplementationName() throw (uno::Runti } - uno::Sequence< OUString > VCLXAccessibleFixedHyperlink::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { return { "com.sun.star.awt.AccessibleFixedHyperlink" }; } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblefixedtext.cxx b/accessibility/source/standard/vclxaccessiblefixedtext.cxx index 74d3db4c4eb9..b6645b356aff 100644 --- a/accessibility/source/standard/vclxaccessiblefixedtext.cxx +++ b/accessibility/source/standard/vclxaccessiblefixedtext.cxx @@ -30,7 +30,6 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::accessibility; - // VCLXAccessibleFixedText @@ -40,13 +39,11 @@ VCLXAccessibleFixedText::VCLXAccessibleFixedText( VCLXWindow* pVCLWindow ) } - VCLXAccessibleFixedText::~VCLXAccessibleFixedText() { } - void VCLXAccessibleFixedText::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); @@ -56,7 +53,6 @@ void VCLXAccessibleFixedText::FillAccessibleStateSet( utl::AccessibleStateSetHel } - void VCLXAccessibleFixedText::implGetLineBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex ) { // TODO @@ -73,7 +69,6 @@ OUString VCLXAccessibleFixedText::getImplementationName() throw (RuntimeExceptio } - Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleFixedText" }; @@ -81,5 +76,4 @@ Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw ( } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index 54736a58f6e2..c425f3c204d5 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -494,7 +494,6 @@ void VCLXAccessibleList::UpdateSelection (const OUString& sTextOfSelectedItem) } - Reference<XAccessible> VCLXAccessibleList::CreateChild (sal_Int32 nPos) { Reference<XAccessible> xChild; @@ -965,14 +964,12 @@ awt::Point VCLXAccessibleList::getLocationOnScreen( ) throw (uno::RuntimeExcept } - bool VCLXAccessibleList::IsInDropDown() { return m_pListBoxHelper->IsInDropDown(); } - void VCLXAccessibleList::HandleDropOpen() { if ( !m_bDisableProcessEvent ) diff --git a/accessibility/source/standard/vclxaccessiblelistbox.cxx b/accessibility/source/standard/vclxaccessiblelistbox.cxx index c50b9e0822a9..0db8a0671670 100644 --- a/accessibility/source/standard/vclxaccessiblelistbox.cxx +++ b/accessibility/source/standard/vclxaccessiblelistbox.cxx @@ -48,8 +48,6 @@ VCLXAccessibleListBox::VCLXAccessibleListBox (VCLXWindow* pVCLWindow) } - - VCLXAccessibleListBox::~VCLXAccessibleListBox() { } @@ -73,8 +71,6 @@ OUString VCLXAccessibleListBox::getImplementationName() } - - Sequence< OUString > VCLXAccessibleListBox::getSupportedServiceNames() throw (RuntimeException, std::exception) { diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index cfef2e4e3860..2ce3c9110d2f 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -624,8 +624,6 @@ void SAL_CALL VCLXAccessibleListItem::removeAccessibleEventListener( const Refer } - - // AF (Oct. 29 2002): Return black as constant foreground color. This is an // initial implementation and has to be substituted by code that determines // the color that is actually used. diff --git a/accessibility/source/standard/vclxaccessiblemenu.cxx b/accessibility/source/standard/vclxaccessiblemenu.cxx index bd51d096b55c..a251fdd21b63 100644 --- a/accessibility/source/standard/vclxaccessiblemenu.cxx +++ b/accessibility/source/standard/vclxaccessiblemenu.cxx @@ -30,7 +30,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // VCLXAccessibleMenu @@ -40,13 +39,11 @@ VCLXAccessibleMenu::VCLXAccessibleMenu( Menu* pParent, sal_uInt16 nItemPos, Menu } - VCLXAccessibleMenu::~VCLXAccessibleMenu() { } - bool VCLXAccessibleMenu::IsFocused() { bool bFocused = false; @@ -58,7 +55,6 @@ bool VCLXAccessibleMenu::IsFocused() } - bool VCLXAccessibleMenu::IsPopupMenuOpen() { bool bPopupMenuOpen = false; @@ -95,7 +91,6 @@ OUString VCLXAccessibleMenu::getImplementationName() throw (RuntimeException, st } - Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenu" }; @@ -114,7 +109,6 @@ sal_Int32 VCLXAccessibleMenu::getAccessibleChildCount( ) throw (RuntimeExceptio } - Reference< XAccessible > VCLXAccessibleMenu::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -126,7 +120,6 @@ Reference< XAccessible > VCLXAccessibleMenu::getAccessibleChild( sal_Int32 i ) t } - sal_Int16 VCLXAccessibleMenu::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -160,7 +153,6 @@ void VCLXAccessibleMenu::selectAccessibleChild( sal_Int32 nChildIndex ) throw (I } - sal_Bool VCLXAccessibleMenu::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -172,7 +164,6 @@ sal_Bool VCLXAccessibleMenu::isAccessibleChildSelected( sal_Int32 nChildIndex ) } - void VCLXAccessibleMenu::clearAccessibleSelection( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -181,14 +172,12 @@ void VCLXAccessibleMenu::clearAccessibleSelection( ) throw (RuntimeException, s } - void VCLXAccessibleMenu::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) { // This method makes no sense in a menu, and so does nothing. } - sal_Int32 VCLXAccessibleMenu::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -205,7 +194,6 @@ sal_Int32 VCLXAccessibleMenu::getSelectedAccessibleChildCount( ) throw (Runtime } - Reference< XAccessible > VCLXAccessibleMenu::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -228,7 +216,6 @@ Reference< XAccessible > VCLXAccessibleMenu::getSelectedAccessibleChild( sal_Int } - void VCLXAccessibleMenu::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -240,7 +227,6 @@ void VCLXAccessibleMenu::deselectAccessibleChild( sal_Int32 nChildIndex ) throw } - OUString VCLXAccessibleMenu::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblemenubar.cxx b/accessibility/source/standard/vclxaccessiblemenubar.cxx index 10340f79ad86..17b3cb46d9b7 100644 --- a/accessibility/source/standard/vclxaccessiblemenubar.cxx +++ b/accessibility/source/standard/vclxaccessiblemenubar.cxx @@ -31,7 +31,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class VCLXAccessibleMenuBar @@ -52,7 +51,6 @@ VCLXAccessibleMenuBar::VCLXAccessibleMenuBar( Menu* pMenu ) } - VCLXAccessibleMenuBar::~VCLXAccessibleMenuBar() { if ( m_pWindow ) @@ -60,7 +58,6 @@ VCLXAccessibleMenuBar::~VCLXAccessibleMenuBar() } - bool VCLXAccessibleMenuBar::IsFocused() { bool bFocused = false; @@ -72,7 +69,6 @@ bool VCLXAccessibleMenuBar::IsFocused() } - IMPL_LINK_TYPED( VCLXAccessibleMenuBar, WindowEventListener, VclWindowEvent&, rEvent, void ) { OSL_ENSURE( rEvent.GetWindow(), "VCLXAccessibleMenuBar::WindowEventListener: no window!" ); @@ -83,7 +79,6 @@ IMPL_LINK_TYPED( VCLXAccessibleMenuBar, WindowEventListener, VclWindowEvent&, rE } - void VCLXAccessibleMenuBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -135,7 +130,6 @@ OUString VCLXAccessibleMenuBar::getImplementationName() throw (RuntimeException, } - Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuBar" }; @@ -177,7 +171,6 @@ sal_Int32 VCLXAccessibleMenuBar::getAccessibleIndexInParent( ) throw (RuntimeEx } - sal_Int16 VCLXAccessibleMenuBar::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -197,5 +190,4 @@ sal_Int32 VCLXAccessibleMenuBar::getBackground( ) throw (RuntimeException, std: } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx index a13a9f20b2e3..074fb357a05d 100644 --- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx +++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx @@ -45,7 +45,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class VCLXAccessibleMenuItem @@ -55,27 +54,23 @@ VCLXAccessibleMenuItem::VCLXAccessibleMenuItem( Menu* pParent, sal_uInt16 nItemP } - VCLXAccessibleMenuItem::~VCLXAccessibleMenuItem() { } - bool VCLXAccessibleMenuItem::IsFocused() { return IsHighlighted(); } - bool VCLXAccessibleMenuItem::IsSelected() { return IsHighlighted(); } - bool VCLXAccessibleMenuItem::IsChecked() { bool bChecked = false; @@ -91,7 +86,6 @@ bool VCLXAccessibleMenuItem::IsChecked() } - bool VCLXAccessibleMenuItem::IsHighlighted() { bool bHighlighted = false; @@ -103,7 +97,6 @@ bool VCLXAccessibleMenuItem::IsHighlighted() } - void VCLXAccessibleMenuItem::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { OAccessibleMenuItemComponent::FillAccessibleStateSet( rStateSet ); @@ -132,14 +125,12 @@ OUString VCLXAccessibleMenuItem::implGetText() } - Locale VCLXAccessibleMenuItem::implGetLocale() { return Application::GetSettings().GetLanguageTag().getLocale(); } - void VCLXAccessibleMenuItem::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) { nStartIndex = 0; @@ -168,7 +159,6 @@ OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException } - Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuItem" }; @@ -209,7 +199,6 @@ sal_Int32 VCLXAccessibleMenuItem::getCaretPosition() throw (RuntimeException, st } - sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { @@ -222,7 +211,6 @@ sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) throw (Ind } - sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -231,7 +219,6 @@ sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) throw (Inde } - Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -249,7 +236,6 @@ Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_In } - awt::Rectangle VCLXAccessibleMenuItem::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -271,7 +257,6 @@ awt::Rectangle VCLXAccessibleMenuItem::getCharacterBounds( sal_Int32 nIndex ) th } - sal_Int32 VCLXAccessibleMenuItem::getCharacterCount() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -280,7 +265,6 @@ sal_Int32 VCLXAccessibleMenuItem::getCharacterCount() throw (RuntimeException, s } - sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -301,7 +285,6 @@ sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) th } - OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -310,7 +293,6 @@ OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException, std: } - sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -319,7 +301,6 @@ sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() throw (RuntimeException, s } - sal_Int32 VCLXAccessibleMenuItem::getSelectionEnd() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -328,7 +309,6 @@ sal_Int32 VCLXAccessibleMenuItem::getSelectionEnd() throw (RuntimeException, std } - sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -340,7 +320,6 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32 } - OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -349,7 +328,6 @@ OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException, std::excepti } - OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -358,7 +336,6 @@ OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 } - css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -367,7 +344,6 @@ css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextAtIndex( sal_Int3 } - css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -376,7 +352,6 @@ css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBeforeIndex( sal_ } - css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -385,7 +360,6 @@ css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBehindIndex( sal_ } - sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -430,7 +404,6 @@ sal_Int32 VCLXAccessibleMenuItem::getAccessibleActionCount( ) throw (RuntimeExce } - sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -444,7 +417,6 @@ sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw ( } - OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -456,7 +428,6 @@ OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nInd } - Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -550,7 +521,6 @@ Any VCLXAccessibleMenuItem::getCurrentValue( ) throw (RuntimeException, std::ex } - sal_Bool VCLXAccessibleMenuItem::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -574,7 +544,6 @@ sal_Bool VCLXAccessibleMenuItem::setCurrentValue( const Any& aNumber ) throw (Ru } - Any VCLXAccessibleMenuItem::getMaximumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -586,7 +555,6 @@ Any VCLXAccessibleMenuItem::getMaximumValue( ) throw (RuntimeException, std::ex } - Any VCLXAccessibleMenuItem::getMinimumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -598,5 +566,4 @@ Any VCLXAccessibleMenuItem::getMinimumValue( ) throw (RuntimeException, std::ex } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx index 0ceda9f1bcb5..8c58c3fc285a 100644 --- a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx +++ b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx @@ -28,7 +28,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class VCLXAccessibleMenuSeparator @@ -38,7 +37,6 @@ VCLXAccessibleMenuSeparator::VCLXAccessibleMenuSeparator( Menu* pParent, sal_uIn } - VCLXAccessibleMenuSeparator::~VCLXAccessibleMenuSeparator() { } @@ -53,7 +51,6 @@ OUString VCLXAccessibleMenuSeparator::getImplementationName() throw (RuntimeExce } - Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleMenuSeparator" }; @@ -72,5 +69,4 @@ sal_Int16 VCLXAccessibleMenuSeparator::getAccessibleRole( ) throw (RuntimeExcep } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx index ee97f1b96d91..6d48f189b9ce 100644 --- a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx +++ b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx @@ -28,7 +28,6 @@ using namespace ::com::sun::star::uno; using namespace ::comphelper; - // class VCLXAccessiblePopupMenu @@ -38,13 +37,11 @@ VCLXAccessiblePopupMenu::VCLXAccessiblePopupMenu( Menu* pMenu ) } - VCLXAccessiblePopupMenu::~VCLXAccessiblePopupMenu() { } - bool VCLXAccessiblePopupMenu::IsFocused() { return !IsChildHighlighted(); @@ -60,7 +57,6 @@ OUString VCLXAccessiblePopupMenu::getImplementationName() throw (RuntimeExceptio } - Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessiblePopupMenu" }; @@ -79,7 +75,6 @@ sal_Int32 VCLXAccessiblePopupMenu::getAccessibleIndexInParent( ) throw (Runtime } - sal_Int16 VCLXAccessiblePopupMenu::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -99,5 +94,4 @@ sal_Int32 VCLXAccessiblePopupMenu::getBackground( ) throw (RuntimeException, st } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessibleradiobutton.cxx b/accessibility/source/standard/vclxaccessibleradiobutton.cxx index de870fc4a062..d9ad6f09e52e 100644 --- a/accessibility/source/standard/vclxaccessibleradiobutton.cxx +++ b/accessibility/source/standard/vclxaccessibleradiobutton.cxx @@ -44,7 +44,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // VCLXAccessibleRadioButton @@ -54,13 +53,11 @@ VCLXAccessibleRadioButton::VCLXAccessibleRadioButton( VCLXWindow* pVCLWindow ) } - VCLXAccessibleRadioButton::~VCLXAccessibleRadioButton() { } - void VCLXAccessibleRadioButton::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -85,7 +82,6 @@ void VCLXAccessibleRadioButton::ProcessWindowEvent( const VclWindowEvent& rVclWi } - void VCLXAccessibleRadioButton::FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) { VCLXAccessibleTextComponent::FillAccessibleRelationSet( rRelationSet ); @@ -109,7 +105,6 @@ void VCLXAccessibleRadioButton::FillAccessibleRelationSet( utl::AccessibleRelati } - void VCLXAccessibleRadioButton::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleTextComponent::FillAccessibleStateSet( rStateSet ); @@ -145,7 +140,6 @@ OUString VCLXAccessibleRadioButton::getImplementationName() throw (RuntimeExcept } - Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleRadioButton" }; @@ -164,7 +158,6 @@ sal_Int32 VCLXAccessibleRadioButton::getAccessibleActionCount( ) throw (RuntimeE } - sal_Bool VCLXAccessibleRadioButton::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -180,7 +173,6 @@ sal_Bool VCLXAccessibleRadioButton::doAccessibleAction ( sal_Int32 nIndex ) thro } - OUString VCLXAccessibleRadioButton::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -192,7 +184,6 @@ OUString VCLXAccessibleRadioButton::getAccessibleActionDescription ( sal_Int32 n } - Reference< XAccessibleKeyBinding > VCLXAccessibleRadioButton::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -248,7 +239,6 @@ Any VCLXAccessibleRadioButton::getCurrentValue( ) throw (RuntimeException, std: } - sal_Bool VCLXAccessibleRadioButton::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -274,7 +264,6 @@ sal_Bool VCLXAccessibleRadioButton::setCurrentValue( const Any& aNumber ) throw } - Any VCLXAccessibleRadioButton::getMaximumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -286,7 +275,6 @@ Any VCLXAccessibleRadioButton::getMaximumValue( ) throw (RuntimeException, std: } - Any VCLXAccessibleRadioButton::getMinimumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -298,5 +286,4 @@ Any VCLXAccessibleRadioButton::getMinimumValue( ) throw (RuntimeException, std: } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx index 91b528cb3d4e..f3675f7a57db 100644 --- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx +++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx @@ -49,13 +49,11 @@ VCLXAccessibleScrollBar::VCLXAccessibleScrollBar( VCLXWindow* pVCLWindow ) } - VCLXAccessibleScrollBar::~VCLXAccessibleScrollBar() { } - void VCLXAccessibleScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -71,7 +69,6 @@ void VCLXAccessibleScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWind } - void VCLXAccessibleScrollBar::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleComponent::FillAccessibleStateSet( rStateSet ); @@ -110,7 +107,6 @@ OUString VCLXAccessibleScrollBar::getImplementationName() throw (RuntimeExceptio } - Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleScrollBar" }; @@ -129,7 +125,6 @@ sal_Int32 VCLXAccessibleScrollBar::getAccessibleActionCount( ) throw (RuntimeExc } - sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -158,7 +153,6 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw } - OUString VCLXAccessibleScrollBar::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -181,7 +175,6 @@ OUString VCLXAccessibleScrollBar::getAccessibleActionDescription ( sal_Int32 nIn } - Reference< XAccessibleKeyBinding > VCLXAccessibleScrollBar::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -210,7 +203,6 @@ Any VCLXAccessibleScrollBar::getCurrentValue( ) throw (RuntimeException, std::e } - sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -238,7 +230,6 @@ sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) throw (R } - Any VCLXAccessibleScrollBar::getMaximumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -253,7 +244,6 @@ Any VCLXAccessibleScrollBar::getMaximumValue( ) throw (RuntimeException, std::e } - Any VCLXAccessibleScrollBar::getMinimumValue( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -265,7 +255,6 @@ Any VCLXAccessibleScrollBar::getMinimumValue( ) throw (RuntimeException, std::e } - OUString VCLXAccessibleScrollBar::getAccessibleName( ) throw (uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblestatusbar.cxx b/accessibility/source/standard/vclxaccessiblestatusbar.cxx index a2e4053c8b70..1ef43c54e266 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbar.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbar.cxx @@ -31,7 +31,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // class VCLXAccessibleStatusBar @@ -45,13 +44,11 @@ VCLXAccessibleStatusBar::VCLXAccessibleStatusBar( VCLXWindow* pVCLXWindow ) } - VCLXAccessibleStatusBar::~VCLXAccessibleStatusBar() { } - void VCLXAccessibleStatusBar::UpdateShowing( sal_Int32 i, bool bShowing ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -67,7 +64,6 @@ void VCLXAccessibleStatusBar::UpdateShowing( sal_Int32 i, bool bShowing ) } - void VCLXAccessibleStatusBar::UpdateItemName( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -86,7 +82,6 @@ void VCLXAccessibleStatusBar::UpdateItemName( sal_Int32 i ) } - void VCLXAccessibleStatusBar::UpdateItemText( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -105,7 +100,6 @@ void VCLXAccessibleStatusBar::UpdateItemText( sal_Int32 i ) } - void VCLXAccessibleStatusBar::InsertChild( sal_Int32 i ) { if ( i >= 0 && i <= (sal_Int32)m_aAccessibleChildren.size() ) @@ -125,7 +119,6 @@ void VCLXAccessibleStatusBar::InsertChild( sal_Int32 i ) } - void VCLXAccessibleStatusBar::RemoveChild( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -151,7 +144,6 @@ void VCLXAccessibleStatusBar::RemoveChild( sal_Int32 i ) } - void VCLXAccessibleStatusBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -287,7 +279,6 @@ OUString VCLXAccessibleStatusBar::getImplementationName() throw (RuntimeExceptio } - Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleStatusBar" }; @@ -306,7 +297,6 @@ sal_Int32 VCLXAccessibleStatusBar::getAccessibleChildCount() throw (RuntimeExcep } - Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -352,5 +342,4 @@ Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleAtPoint( const aw } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 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: */ diff --git a/accessibility/source/standard/vclxaccessibletabcontrol.cxx b/accessibility/source/standard/vclxaccessibletabcontrol.cxx index 2e7c7aeb9f91..c65688efa2d3 100644 --- a/accessibility/source/standard/vclxaccessibletabcontrol.cxx +++ b/accessibility/source/standard/vclxaccessibletabcontrol.cxx @@ -36,7 +36,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // class VCLXAccessibleTabControl @@ -50,13 +49,11 @@ VCLXAccessibleTabControl::VCLXAccessibleTabControl( VCLXWindow* pVCLXWindow ) } - VCLXAccessibleTabControl::~VCLXAccessibleTabControl() { } - void VCLXAccessibleTabControl::UpdateFocused() { for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i ) @@ -72,7 +69,6 @@ void VCLXAccessibleTabControl::UpdateFocused() } - void VCLXAccessibleTabControl::UpdateSelected( sal_Int32 i, bool bSelected ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -88,7 +84,6 @@ void VCLXAccessibleTabControl::UpdateSelected( sal_Int32 i, bool bSelected ) } - void VCLXAccessibleTabControl::UpdatePageText( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -104,7 +99,6 @@ void VCLXAccessibleTabControl::UpdatePageText( sal_Int32 i ) } - void VCLXAccessibleTabControl::UpdateTabPage( sal_Int32 i, bool bNew ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -120,7 +114,6 @@ void VCLXAccessibleTabControl::UpdateTabPage( sal_Int32 i, bool bNew ) } - void VCLXAccessibleTabControl::InsertChild( sal_Int32 i ) { if ( i >= 0 && i <= (sal_Int32)m_aAccessibleChildren.size() ) @@ -140,7 +133,6 @@ void VCLXAccessibleTabControl::InsertChild( sal_Int32 i ) } - void VCLXAccessibleTabControl::RemoveChild( sal_Int32 i ) { if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) @@ -166,7 +158,6 @@ void VCLXAccessibleTabControl::RemoveChild( sal_Int32 i ) } - void VCLXAccessibleTabControl::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -261,7 +252,6 @@ void VCLXAccessibleTabControl::ProcessWindowEvent( const VclWindowEvent& rVclWin } - void VCLXAccessibleTabControl::ProcessWindowChildEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -291,8 +281,6 @@ void VCLXAccessibleTabControl::ProcessWindowChildEvent( const VclWindowEvent& rV } - - void VCLXAccessibleTabControl::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { VCLXAccessibleComponent::FillAccessibleStateSet( rStateSet ); @@ -346,7 +334,6 @@ OUString VCLXAccessibleTabControl::getImplementationName() throw (RuntimeExcepti } - Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabControl" }; @@ -365,7 +352,6 @@ sal_Int32 VCLXAccessibleTabControl::getAccessibleChildCount() throw (RuntimeExce } - Reference< XAccessible > VCLXAccessibleTabControl::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -390,7 +376,6 @@ Reference< XAccessible > VCLXAccessibleTabControl::getAccessibleChild( sal_Int32 } - sal_Int16 VCLXAccessibleTabControl::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -399,7 +384,6 @@ sal_Int16 VCLXAccessibleTabControl::getAccessibleRole( ) throw (RuntimeExceptio } - OUString VCLXAccessibleTabControl::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -423,7 +407,6 @@ void VCLXAccessibleTabControl::selectAccessibleChild( sal_Int32 nChildIndex ) th } - sal_Bool VCLXAccessibleTabControl::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -439,14 +422,12 @@ sal_Bool VCLXAccessibleTabControl::isAccessibleChildSelected( sal_Int32 nChildIn } - void VCLXAccessibleTabControl::clearAccessibleSelection( ) throw (RuntimeException, std::exception) { // This method makes no sense in a tab control, and so does nothing. } - void VCLXAccessibleTabControl::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -455,7 +436,6 @@ void VCLXAccessibleTabControl::selectAllAccessibleChildren( ) throw (RuntimeExc } - sal_Int32 VCLXAccessibleTabControl::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -464,7 +444,6 @@ sal_Int32 VCLXAccessibleTabControl::getSelectedAccessibleChildCount( ) throw (R } - Reference< XAccessible > VCLXAccessibleTabControl::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -487,7 +466,6 @@ Reference< XAccessible > VCLXAccessibleTabControl::getSelectedAccessibleChild( s } - void VCLXAccessibleTabControl::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -499,5 +477,4 @@ void VCLXAccessibleTabControl::deselectAccessibleChild( sal_Int32 nChildIndex ) } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessibletabpage.cxx b/accessibility/source/standard/vclxaccessibletabpage.cxx index 8b5b5e702232..bb70bdf77880 100644 --- a/accessibility/source/standard/vclxaccessibletabpage.cxx +++ b/accessibility/source/standard/vclxaccessibletabpage.cxx @@ -44,7 +44,6 @@ using namespace ::com::sun::star; using namespace ::comphelper; - // class VCLXAccessibleTabPage @@ -60,7 +59,6 @@ VCLXAccessibleTabPage::VCLXAccessibleTabPage( TabControl* pTabControl, sal_uInt1 } - VCLXAccessibleTabPage::~VCLXAccessibleTabPage() { delete m_pExternalLock; @@ -68,7 +66,6 @@ VCLXAccessibleTabPage::~VCLXAccessibleTabPage() } - bool VCLXAccessibleTabPage::IsFocused() { bool bFocused = false; @@ -80,7 +77,6 @@ bool VCLXAccessibleTabPage::IsFocused() } - bool VCLXAccessibleTabPage::IsSelected() { bool bSelected = false; @@ -92,7 +88,6 @@ bool VCLXAccessibleTabPage::IsSelected() } - void VCLXAccessibleTabPage::SetFocused( bool bFocused ) { if ( m_bFocused != bFocused ) @@ -108,7 +103,6 @@ void VCLXAccessibleTabPage::SetFocused( bool bFocused ) } - void VCLXAccessibleTabPage::SetSelected( bool bSelected ) { if ( m_bSelected != bSelected ) @@ -124,7 +118,6 @@ void VCLXAccessibleTabPage::SetSelected( bool bSelected ) } - void VCLXAccessibleTabPage::SetPageText( const OUString& sPageText ) { Any aOldValue, aNewValue; @@ -140,7 +133,6 @@ void VCLXAccessibleTabPage::SetPageText( const OUString& sPageText ) } - OUString VCLXAccessibleTabPage::GetPageText() { OUString sText; @@ -151,7 +143,6 @@ OUString VCLXAccessibleTabPage::GetPageText() } - void VCLXAccessibleTabPage::Update( bool bNew ) { if ( m_pTabControl ) @@ -174,7 +165,6 @@ void VCLXAccessibleTabPage::Update( bool bNew ) } - void VCLXAccessibleTabPage::FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) { rStateSet.AddState( AccessibleStateType::ENABLED ); @@ -219,14 +209,12 @@ OUString VCLXAccessibleTabPage::implGetText() } - lang::Locale VCLXAccessibleTabPage::implGetLocale() { return Application::GetSettings().GetLanguageTag().getLocale(); } - void VCLXAccessibleTabPage::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) { nStartIndex = 0; @@ -267,14 +255,12 @@ OUString VCLXAccessibleTabPage::getImplementationName() throw (RuntimeException, } - sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } - Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (RuntimeException, std::exception) { Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabPage" }; @@ -312,7 +298,6 @@ sal_Int32 VCLXAccessibleTabPage::getAccessibleChildCount() throw (RuntimeExcepti } - Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -332,7 +317,6 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleChild( sal_Int32 i } - Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -345,7 +329,6 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleParent( ) throw (R } - sal_Int32 VCLXAccessibleTabPage::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -358,7 +341,6 @@ sal_Int32 VCLXAccessibleTabPage::getAccessibleIndexInParent( ) throw (RuntimeEx } - sal_Int16 VCLXAccessibleTabPage::getAccessibleRole( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -367,7 +349,6 @@ sal_Int16 VCLXAccessibleTabPage::getAccessibleRole( ) throw (RuntimeException, } - OUString VCLXAccessibleTabPage::getAccessibleDescription( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -380,7 +361,6 @@ OUString VCLXAccessibleTabPage::getAccessibleDescription( ) throw (RuntimeExc } - OUString VCLXAccessibleTabPage::getAccessibleName( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -389,7 +369,6 @@ OUString VCLXAccessibleTabPage::getAccessibleName( ) throw (RuntimeException, s } - Reference< XAccessibleRelationSet > VCLXAccessibleTabPage::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -400,7 +379,6 @@ Reference< XAccessibleRelationSet > VCLXAccessibleTabPage::getAccessibleRelation } - Reference< XAccessibleStateSet > VCLXAccessibleTabPage::getAccessibleStateSet( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -421,7 +399,6 @@ Reference< XAccessibleStateSet > VCLXAccessibleTabPage::getAccessibleStateSet( } - Locale VCLXAccessibleTabPage::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -461,7 +438,6 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleAtPoint( const awt: } - void VCLXAccessibleTabPage::grabFocus( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -474,7 +450,6 @@ void VCLXAccessibleTabPage::grabFocus( ) throw (RuntimeException, std::exceptio } - sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -492,7 +467,6 @@ sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException, std:: } - sal_Int32 VCLXAccessibleTabPage::getBackground( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -530,7 +504,6 @@ Reference< awt::XFont > VCLXAccessibleTabPage::getFont( ) throw (RuntimeExcepti } - OUString VCLXAccessibleTabPage::getTitledBorderText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -539,7 +512,6 @@ OUString VCLXAccessibleTabPage::getTitledBorderText( ) throw (RuntimeException, } - OUString VCLXAccessibleTabPage::getToolTipText( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -559,7 +531,6 @@ sal_Int32 VCLXAccessibleTabPage::getCaretPosition() throw (RuntimeException, std } - sal_Bool VCLXAccessibleTabPage::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -571,7 +542,6 @@ sal_Bool VCLXAccessibleTabPage::setCaretPosition( sal_Int32 nIndex ) throw (Inde } - Sequence< PropertyValue > VCLXAccessibleTabPage::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -595,7 +565,6 @@ Sequence< PropertyValue > VCLXAccessibleTabPage::getCharacterAttributes( sal_Int } - awt::Rectangle VCLXAccessibleTabPage::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -616,7 +585,6 @@ awt::Rectangle VCLXAccessibleTabPage::getCharacterBounds( sal_Int32 nIndex ) thr } - sal_Int32 VCLXAccessibleTabPage::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -637,7 +605,6 @@ sal_Int32 VCLXAccessibleTabPage::getIndexAtPoint( const awt::Point& aPoint ) thr } - sal_Bool VCLXAccessibleTabPage::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -649,7 +616,6 @@ sal_Bool VCLXAccessibleTabPage::setSelection( sal_Int32 nStartIndex, sal_Int32 n } - sal_Bool VCLXAccessibleTabPage::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -680,5 +646,4 @@ sal_Bool VCLXAccessibleTabPage::copyText( sal_Int32 nStartIndex, sal_Int32 nEndI } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx index bf6f51100bf7..430b4a4937cf 100644 --- a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx +++ b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx @@ -29,7 +29,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // class VCLXAccessibleTabPageWindow @@ -59,7 +58,6 @@ VCLXAccessibleTabPageWindow::VCLXAccessibleTabPageWindow( VCLXWindow* pVCLXWindo } - VCLXAccessibleTabPageWindow::~VCLXAccessibleTabPageWindow() { } @@ -130,7 +128,6 @@ Reference< XAccessible > VCLXAccessibleTabPageWindow::getAccessibleParent( ) th } - sal_Int32 VCLXAccessibleTabPageWindow::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -139,5 +136,4 @@ sal_Int32 VCLXAccessibleTabPageWindow::getAccessibleIndexInParent( ) throw (Run } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessibletextcomponent.cxx b/accessibility/source/standard/vclxaccessibletextcomponent.cxx index f39446077de2..159898b7e48b 100644 --- a/accessibility/source/standard/vclxaccessibletextcomponent.cxx +++ b/accessibility/source/standard/vclxaccessibletextcomponent.cxx @@ -43,7 +43,6 @@ using namespace ::com::sun::star::accessibility; using namespace ::comphelper; - // class VCLXAccessibleTextComponent @@ -55,13 +54,11 @@ VCLXAccessibleTextComponent::VCLXAccessibleTextComponent( VCLXWindow* pVCLXWindo } - VCLXAccessibleTextComponent::~VCLXAccessibleTextComponent() { } - void VCLXAccessibleTextComponent::SetText( const OUString& sText ) { Any aOldValue, aNewValue; @@ -73,7 +70,6 @@ void VCLXAccessibleTextComponent::SetText( const OUString& sText ) } - void VCLXAccessibleTextComponent::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { switch ( rVclWindowEvent.GetId() ) @@ -103,14 +99,12 @@ OUString VCLXAccessibleTextComponent::implGetText() } - lang::Locale VCLXAccessibleTextComponent::implGetLocale() { return Application::GetSettings().GetLanguageTag().getLocale(); } - void VCLXAccessibleTextComponent::implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) { nStartIndex = 0; @@ -152,7 +146,6 @@ sal_Int32 VCLXAccessibleTextComponent::getCaretPosition() throw (RuntimeExceptio } - sal_Bool VCLXAccessibleTextComponent::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -161,7 +154,6 @@ sal_Bool VCLXAccessibleTextComponent::setCaretPosition( sal_Int32 nIndex ) throw } - sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -170,7 +162,6 @@ sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) throw } - Sequence< PropertyValue > VCLXAccessibleTextComponent::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -245,7 +236,6 @@ Sequence< PropertyValue > VCLXAccessibleTextComponent::getCharacterAttributes( s } - awt::Rectangle VCLXAccessibleTextComponent::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -262,7 +252,6 @@ awt::Rectangle VCLXAccessibleTextComponent::getCharacterBounds( sal_Int32 nIndex } - sal_Int32 VCLXAccessibleTextComponent::getCharacterCount() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -271,7 +260,6 @@ sal_Int32 VCLXAccessibleTextComponent::getCharacterCount() throw (RuntimeExcepti } - sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -285,7 +273,6 @@ sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint } - OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -294,7 +281,6 @@ OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException, } - sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -303,7 +289,6 @@ sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() throw (RuntimeExcepti } - sal_Int32 VCLXAccessibleTextComponent::getSelectionEnd() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -312,7 +297,6 @@ sal_Int32 VCLXAccessibleTextComponent::getSelectionEnd() throw (RuntimeException } - sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -324,7 +308,6 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I } - OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -333,7 +316,6 @@ OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException, std::ex } - OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -342,7 +324,6 @@ OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_I } - css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -351,7 +332,6 @@ css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextAtIndex( sal } - css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -360,7 +340,6 @@ css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBeforeIndex( } - css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -369,7 +348,6 @@ css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBehindIndex( } - sal_Bool VCLXAccessibleTextComponent::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); @@ -400,5 +378,4 @@ sal_Bool VCLXAccessibleTextComponent::copyText( sal_Int32 nStartIndex, sal_Int32 } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/accessibility/source/standard/vclxaccessibletextfield.cxx b/accessibility/source/standard/vclxaccessibletextfield.cxx index 4eb05d3ecb50..71c647e77da0 100644 --- a/accessibility/source/standard/vclxaccessibletextfield.cxx +++ b/accessibility/source/standard/vclxaccessibletextfield.cxx @@ -35,8 +35,6 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::accessibility; - - VCLXAccessibleTextField::VCLXAccessibleTextField (VCLXWindow* pVCLWindow, const Reference< XAccessible >& _xParent) : VCLXAccessibleTextComponent (pVCLWindow), @@ -47,8 +45,6 @@ VCLXAccessibleTextField::VCLXAccessibleTextField (VCLXWindow* pVCLWindow, const } - - VCLXAccessibleTextField::~VCLXAccessibleTextField() { } @@ -86,8 +82,6 @@ sal_Int32 SAL_CALL VCLXAccessibleTextField::getAccessibleChildCount() } - - Reference<XAccessible> SAL_CALL VCLXAccessibleTextField::getAccessibleChild (sal_Int32) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { @@ -95,8 +89,6 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleTextField::getAccessibleChild (sal } - - sal_Int16 SAL_CALL VCLXAccessibleTextField::getAccessibleRole() throw (RuntimeException, std::exception) { @@ -114,7 +106,6 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleTextField::getAccessibleParent( } - // XServiceInfo OUString VCLXAccessibleTextField::getImplementationName() @@ -124,8 +115,6 @@ OUString VCLXAccessibleTextField::getImplementationName() } - - Sequence< OUString > VCLXAccessibleTextField::getSupportedServiceNames() throw (RuntimeException, std::exception) { diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx index e3d77e8e2076..8a2ec252eee0 100644 --- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx +++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx @@ -707,5 +707,4 @@ Any VCLXAccessibleToolBoxItem::getMinimumValue( ) throw (RuntimeException, std: } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |