summaryrefslogtreecommitdiff
path: root/accessibility/source
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2012-09-09 00:04:28 -0300
committerLuboš Luňák <l.lunak@suse.cz>2012-09-11 12:38:36 +0000
commit1ebed7b6c9aad8148ba22072c17f1a3fd9a1f3fe (patch)
treeaf2ccd11abb96ae715872553aa55902aeff78fd5 /accessibility/source
parenta1417c73a294892cc221037c24df956da66cdf58 (diff)
::rtl::OUString to OUString correction in accessibility
Change-Id: Ib59e07ef5dcdd2f30bc5abee2e958cbda57e9629 Reviewed-on: https://gerrit.libreoffice.org/589 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'accessibility/source')
-rw-r--r--accessibility/source/extended/accessibletabbarpage.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessibletextcomponent.cxx20
-rw-r--r--accessibility/source/standard/vclxaccessibletoolboxitem.cxx2
3 files changed, 12 insertions, 12 deletions
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx
index 1d991d0e5dde..b1fa81938022 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -487,7 +487,7 @@ namespace accessibility
// -----------------------------------------------------------------------------
- ::rtl::OUString AccessibleTabBarPage::getTitledBorderText( ) throw (RuntimeException)
+ OUString AccessibleTabBarPage::getTitledBorderText( ) throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/standard/vclxaccessibletextcomponent.cxx b/accessibility/source/standard/vclxaccessibletextcomponent.cxx
index 33d347b68d2d..50175212bc2f 100644
--- a/accessibility/source/standard/vclxaccessibletextcomponent.cxx
+++ b/accessibility/source/standard/vclxaccessibletextcomponent.cxx
@@ -62,7 +62,7 @@ VCLXAccessibleTextComponent::~VCLXAccessibleTextComponent()
// -----------------------------------------------------------------------------
-void VCLXAccessibleTextComponent::SetText( const ::rtl::OUString& sText )
+void VCLXAccessibleTextComponent::SetText( const OUString& sText )
{
Any aOldValue, aNewValue;
if ( implInitTextChangedEvent( m_sText, sText, aOldValue, aNewValue ) )
@@ -93,9 +93,9 @@ void VCLXAccessibleTextComponent::ProcessWindowEvent( const VclWindowEvent& rVcl
// OCommonAccessibleText
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleTextComponent::implGetText()
+OUString VCLXAccessibleTextComponent::implGetText()
{
- ::rtl::OUString aText;
+ OUString aText;
if ( GetWindow() )
aText = OutputDevice::GetNonMnemonicString( GetWindow()->GetText() );
@@ -125,7 +125,7 @@ void VCLXAccessibleTextComponent::disposing()
{
VCLXAccessibleComponent::disposing();
- m_sText = ::rtl::OUString();
+ m_sText = OUString();
}
// -----------------------------------------------------------------------------
@@ -171,12 +171,12 @@ sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) throw
// -----------------------------------------------------------------------------
-Sequence< PropertyValue > VCLXAccessibleTextComponent::getCharacterAttributes( sal_Int32 nIndex, const Sequence< ::rtl::OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException)
+Sequence< PropertyValue > VCLXAccessibleTextComponent::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();
@@ -235,7 +235,7 @@ sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException)
+OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -274,7 +274,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException)
+OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -283,7 +283,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I
// -----------------------------------------------------------------------------
-::rtl::OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException)
+OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
OExternalLockGuard aGuard( this );
@@ -330,7 +330,7 @@ sal_Bool VCLXAccessibleTextComponent::copyText( sal_Int32 nStartIndex, sal_Int32
Reference< datatransfer::clipboard::XClipboard > xClipboard = GetWindow()->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();
diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
index 86402cc11d6f..b5f6e9aa5208 100644
--- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
@@ -593,7 +593,7 @@ OUString SAL_CALL VCLXAccessibleToolBoxItem::getToolTipText( ) throw (RuntimeEx
{
OExternalLockGuard aGuard( this );
- ::rtl::OUString sRet;
+ OUString sRet;
if ( m_pToolBox )
{
if ( Help::IsExtHelpEnabled() )