summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblemenuitem.cxx
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2012-09-07 03:36:42 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-09-07 12:26:19 +0000
commite1276e83e0e914eab8966a189948d2238c82a1b6 (patch)
tree7c010d0d9fcf5d43e53e638c535f44048b8ef571 /accessibility/source/standard/vclxaccessiblemenuitem.cxx
parent346cf4ee5d2f82b59900de1f71160c0d90ffab41 (diff)
OUString cleanup in accessibility
Change-Id: Ie4e51632bf81053f0d32428bb7ef5b01ec301ccc Reviewed-on: https://gerrit.libreoffice.org/579 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblemenuitem.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblemenuitem.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
index 10c72b412b17..6ec29ad89b28 100644
--- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx
@@ -137,7 +137,7 @@ void VCLXAccessibleMenuItem::FillAccessibleStateSet( utl::AccessibleStateSetHelp
// OCommonAccessibleText
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleMenuItem::implGetText()
+OUString VCLXAccessibleMenuItem::implGetText()
{
return m_sItemText;
}
@@ -173,17 +173,17 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleMenuItem, OAccessibleMenuItemCom
// XServiceInfo
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException)
+OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException)
{
- return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.toolkit.AccessibleMenuItem") );
+ return OUString( "com.sun.star.comp.toolkit.AccessibleMenuItem" );
}
// -----------------------------------------------------------------------------
-Sequence< ::rtl::OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException)
+Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException)
{
- Sequence< ::rtl::OUString > aNames(1);
- aNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.AccessibleMenuItem") );
+ Sequence< OUString > aNames(1);
+ aNames[0] = "com.sun.star.awt.AccessibleMenuItem";
return aNames;
}
@@ -233,12 +233,12 @@ sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) throw (Inde
// -----------------------------------------------------------------------------
-Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< ::rtl::OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException)
+Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
Sequence< PropertyValue > aValues;
- ::rtl::OUString sText( implGetText() );
+ OUString sText( implGetText() );
if ( !implIsValidIndex( nIndex, sText.getLength() ) )
throw IndexOutOfBoundsException();
@@ -306,7 +306,7 @@ sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) th
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException)
+OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -345,7 +345,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException)
+OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -354,7 +354,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException)
+OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -404,7 +404,7 @@ sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEnd
Reference< datatransfer::clipboard::XClipboard > xClipboard = pWindow->GetClipboard();
if ( xClipboard.is() )
{
- ::rtl::OUString sText( getTextRange( nStartIndex, nEndIndex ) );
+ OUString sText( getTextRange( nStartIndex, nEndIndex ) );
::vcl::unohelper::TextDataObject* pDataObj = new ::vcl::unohelper::TextDataObject( sText );
const sal_uInt32 nRef = Application::ReleaseSolarMutex();
@@ -451,14 +451,14 @@ sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw (
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException)
+OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
- return ::rtl::OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) );
+ return OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) );
}
// -----------------------------------------------------------------------------