summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx')
-rwxr-xr-x[-rw-r--r--]accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx66
1 files changed, 32 insertions, 34 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index 562ee96e5575..e51ff1f0e260 100644..100755
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -28,10 +28,10 @@ namespace accessibility
{
namespace
{
- 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();
}
static sal_Int32 getIndex_Impl( sal_Int32 _nRow, sal_uInt16 _nColumn, sal_uInt16 _nColumnCount )
@@ -56,7 +56,7 @@ namespace accessibility
return mpBrowseBox->GetAccessibleCellText( getRowPos(), static_cast< sal_uInt16 >( getColumnPos() ) );
}
- ::com::sun::star::lang::Locale AccessibleBrowseBoxTableCell::implGetLocale()
+ css::lang::Locale AccessibleBrowseBoxTableCell::implGetLocale()
{
ensureIsAlive();
return mpBrowseBox->GetAccessible()->getAccessibleContext()->getLocale();
@@ -70,7 +70,7 @@ namespace accessibility
AccessibleBrowseBoxTableCell::AccessibleBrowseBoxTableCell(const Reference<XAccessible >& _rxParent,
IAccessibleTableProvider& _rBrowseBox,
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& _xFocusWindow,
+ const css::uno::Reference< css::awt::XWindow >& _xFocusWindow,
sal_Int32 _nRowPos,
sal_uInt16 _nColPos,
sal_Int32 _nOffset )
@@ -98,9 +98,8 @@ namespace accessibility
// XInterface -------------------------------------------------------------
/** Queries for a new interface. */
- ::com::sun::star::uno::Any SAL_CALL AccessibleBrowseBoxTableCell::queryInterface(
- const ::com::sun::star::uno::Type& rType )
- throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+ css::uno::Any SAL_CALL AccessibleBrowseBoxTableCell::queryInterface( const css::uno::Type& rType )
+ throw ( css::uno::RuntimeException, std::exception )
{
Any aRet = AccessibleBrowseBoxCell::queryInterface(rType);
if ( !aRet.hasValue() )
@@ -120,7 +119,7 @@ namespace accessibility
AccessibleBrowseBoxCell::release();
}
- ::com::sun::star::awt::Rectangle SAL_CALL AccessibleBrowseBoxTableCell::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ css::awt::Rectangle SAL_CALL AccessibleBrowseBoxTableCell::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
@@ -129,7 +128,7 @@ namespace accessibility
if ( !implIsValidIndex( nIndex, implGetText().getLength() ) )
throw IndexOutOfBoundsException();
- ::com::sun::star::awt::Rectangle aRect;
+ css::awt::Rectangle aRect;
if ( mpBrowseBox )
{
@@ -139,7 +138,7 @@ namespace accessibility
return aRect;
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getIndexAtPoint( const ::com::sun::star::awt::Point& _aPoint ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getIndexAtPoint( const css::awt::Point& _aPoint ) throw (RuntimeException, std::exception)
{
//! TODO CTL bidi
// OSL_FAIL("Need to be done by base class!");
@@ -154,26 +153,25 @@ namespace accessibility
The name of this class.
*/
OUString SAL_CALL AccessibleBrowseBoxTableCell::getImplementationName()
- throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.svtools.AccessibleBrowseBoxTableCell" );
}
/** @return The count of visible children. */
sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::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
AccessibleBrowseBoxTableCell::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
@@ -215,7 +213,7 @@ namespace accessibility
// XAccessibleContext -----------------------------------------------------
sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getAccessibleIndexInParent()
- throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
@@ -224,11 +222,11 @@ namespace accessibility
return /*BBINDEX_FIRSTCONTROL*/ m_nOffset + ( getRowPos() * mpBrowseBox->GetColumnCount() ) + getColumnPos();
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCaretPosition( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCaretPosition( ) throw (css::uno::RuntimeException, std::exception)
{
return -1;
}
- sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setCaretPosition ( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setCaretPosition ( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
@@ -238,13 +236,13 @@ namespace accessibility
return false;
}
- sal_Unicode SAL_CALL AccessibleBrowseBoxTableCell::getCharacter( sal_Int32 nIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Unicode SAL_CALL AccessibleBrowseBoxTableCell::getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getCharacter( nIndex );
}
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL AccessibleBrowseBoxTableCell::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 AccessibleBrowseBoxTableCell::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
@@ -254,34 +252,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 AccessibleBrowseBoxTableCell::getCharacterCount( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCharacterCount( ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getCharacterCount( );
}
- OUString SAL_CALL AccessibleBrowseBoxTableCell::getSelectedText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleBrowseBoxTableCell::getSelectedText( ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getSelectedText( );
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionStart( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionStart( ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getSelectionStart( );
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionEnd( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionEnd( ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getSelectionEnd( );
}
- sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
@@ -290,37 +288,37 @@ namespace accessibility
return false;
}
- OUString SAL_CALL AccessibleBrowseBoxTableCell::getText( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleBrowseBoxTableCell::getText( ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getText( );
}
- OUString SAL_CALL AccessibleBrowseBoxTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleBrowseBoxTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
- ::com::sun::star::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::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 AccessibleBrowseBoxTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType);
}
- ::com::sun::star::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::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 AccessibleBrowseBoxTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType);
}
- ::com::sun::star::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::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 AccessibleBrowseBoxTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
return OCommonAccessibleText::getTextBehindIndex( nIndex ,aTextType);
}
- sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );