diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-17 14:34:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-17 13:00:43 +0000 |
commit | be62355f5258df4cd6a58c2e300886d5c714cced (patch) | |
tree | 3eac902a0ae8d9d79f6b961ef339e3be523a1f77 /accessibility/source/extended/AccessibleGridControlTableCell.cxx | |
parent | 1f6882348e74f7a3b7c144f693c99b7120c5b89b (diff) |
com::sun::star->css in accessibility
Change-Id: Iadc69c0c7e770a8c7a94942a24b9455233102211
Reviewed-on: https://gerrit.libreoffice.org/17161
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'accessibility/source/extended/AccessibleGridControlTableCell.cxx')
-rwxr-xr-x[-rw-r--r--] | accessibility/source/extended/AccessibleGridControlTableCell.cxx | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx index 85f10f7c7e0b..68c7bde79cc1 100644..100755 --- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx +++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx @@ -31,10 +31,10 @@ namespace accessibility { // FIXME this is a copy'n'paste from // source/extended/AccessibleBrowseBoxTableCell.cxx, get rid of that... - static void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (::com::sun::star::lang::IndexOutOfBoundsException) + static void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException) { if ( _nIndex >= _sText.getLength() ) - throw ::com::sun::star::lang::IndexOutOfBoundsException(); + throw css::lang::IndexOutOfBoundsException(); } } using namespace ::com::sun::star::lang; @@ -91,7 +91,7 @@ namespace accessibility return m_aTable.GetAccessibleCellText( getRowPos(), getColumnPos() ); } - ::com::sun::star::lang::Locale AccessibleGridControlTableCell::implGetLocale() + css::lang::Locale AccessibleGridControlTableCell::implGetLocale() { ensureIsAlive(); return m_aTable.GetAccessible()->getAccessibleContext()->getLocale(); @@ -115,9 +115,9 @@ namespace accessibility // XInterface ------------------------------------------------------------- /** Queries for a new interface. */ - ::com::sun::star::uno::Any SAL_CALL AccessibleGridControlTableCell::queryInterface( - const ::com::sun::star::uno::Type& rType ) - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) + css::uno::Any SAL_CALL AccessibleGridControlTableCell::queryInterface( + const css::uno::Type& rType ) + throw ( css::uno::RuntimeException, std::exception ) { Any aRet = AccessibleGridControlCell::queryInterface(rType); if ( !aRet.hasValue() ) @@ -137,7 +137,7 @@ namespace accessibility AccessibleGridControlCell::release(); } - ::com::sun::star::awt::Rectangle SAL_CALL AccessibleGridControlTableCell::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) + css::awt::Rectangle SAL_CALL AccessibleGridControlTableCell::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; @@ -148,7 +148,7 @@ namespace accessibility return AWTRectangle( m_aTable.GetFieldCharacterBounds( getRowPos(), getColumnPos(), nIndex ) ); } - sal_Int32 SAL_CALL AccessibleGridControlTableCell::getIndexAtPoint( const ::com::sun::star::awt::Point& _aPoint ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleGridControlTableCell::getIndexAtPoint( const css::awt::Point& _aPoint ) throw (RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; @@ -161,26 +161,26 @@ namespace accessibility The name of this class. */ OUString SAL_CALL AccessibleGridControlTableCell::getImplementationName() - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) + throw ( css::uno::RuntimeException, std::exception ) { return OUString( "com.sun.star.accessibility.AccessibleGridControlTableCell" ); } /** @return The count of visible children. */ sal_Int32 SAL_CALL AccessibleGridControlTableCell::getAccessibleChildCount() - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) + throw ( css::uno::RuntimeException, std::exception ) { return 0; } /** @return The XAccessible interface of the specified child. */ - ::com::sun::star::uno::Reference< - ::com::sun::star::accessibility::XAccessible > SAL_CALL + css::uno::Reference< + css::accessibility::XAccessible > SAL_CALL AccessibleGridControlTableCell::getAccessibleChild( sal_Int32 ) - throw ( ::com::sun::star::lang::IndexOutOfBoundsException, - ::com::sun::star::uno::RuntimeException, std::exception ) + throw ( css::lang::IndexOutOfBoundsException, + css::uno::RuntimeException, std::exception ) { - throw ::com::sun::star::lang::IndexOutOfBoundsException(); + throw css::lang::IndexOutOfBoundsException(); } /** Creates a new AccessibleStateSetHelper and fills it with states of the @@ -221,7 +221,7 @@ namespace accessibility // XAccessibleContext ----------------------------------------------------- sal_Int32 SAL_CALL AccessibleGridControlTableCell::getAccessibleIndexInParent() - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) + throw ( css::uno::RuntimeException, std::exception ) { SolarMutexGuard aSolarGuard; @@ -230,11 +230,11 @@ namespace accessibility return ( getRowPos() * m_aTable.GetColumnCount() ) + getColumnPos(); } - sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCaretPosition( ) throw (css::uno::RuntimeException, std::exception) { return -1; } - sal_Bool SAL_CALL AccessibleGridControlTableCell::setCaretPosition ( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleGridControlTableCell::setCaretPosition ( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; @@ -243,13 +243,13 @@ namespace accessibility return false; } - sal_Unicode SAL_CALL AccessibleGridControlTableCell::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) + sal_Unicode SAL_CALL AccessibleGridControlTableCell::getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getCharacter( nIndex ); } - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL AccessibleGridControlTableCell::getCharacterAttributes( sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< OUString >& ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) + css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleGridControlTableCell::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; @@ -258,34 +258,34 @@ namespace accessibility if ( !implIsValidIndex( nIndex, sText.getLength() ) ) throw IndexOutOfBoundsException(); - return ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >(); + return css::uno::Sequence< css::beans::PropertyValue >(); } - sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCharacterCount( ) throw (::com::sun::star::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCharacterCount( ) throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getCharacterCount( ); } - OUString SAL_CALL AccessibleGridControlTableCell::getSelectedText( ) throw (::com::sun::star::uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleGridControlTableCell::getSelectedText( ) throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getSelectedText( ); } - sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionStart( ) throw (::com::sun::star::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionStart( ) throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getSelectionStart( ); } - sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionEnd( ) throw (::com::sun::star::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionEnd( ) throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getSelectionEnd( ); } - sal_Bool SAL_CALL AccessibleGridControlTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleGridControlTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; @@ -294,37 +294,37 @@ namespace accessibility return false; } - OUString SAL_CALL AccessibleGridControlTableCell::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleGridControlTableCell::getText( ) throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getText( ); } - OUString SAL_CALL AccessibleGridControlTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleGridControlTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex ); } - ::com::sun::star::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) + css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType); } - ::com::sun::star::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) + css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType); } - ::com::sun::star::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) + css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; return OCommonAccessibleText::getTextBehindIndex( nIndex ,aTextType); } - sal_Bool SAL_CALL AccessibleGridControlTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleGridControlTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; |