diff options
author | Ricardo Montania <ricardo@linuxafundo.com.br> | 2012-09-23 15:05:17 -0300 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-09-24 10:51:42 +0000 |
commit | 57d2f9b7744eea76496af1f4101398ec4f6caf70 (patch) | |
tree | d4e5cf2439a415ff4a550cbbc01c1d8fa94270d5 /basctl/source/accessibility/accessibledialogwindow.cxx | |
parent | Remove unused code (diff) | |
download | core-57d2f9b7744eea76496af1f4101398ec4f6caf70.tar.gz core-57d2f9b7744eea76496af1f4101398ec4f6caf70.zip |
::rtl::OUString to OUString in basctl
Change-Id: I3fc3d463fbaefe31b3541502c9f3dfbd4d1db4f9
Reviewed-on: https://gerrit.libreoffice.org/678
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'basctl/source/accessibility/accessibledialogwindow.cxx')
-rw-r--r-- | basctl/source/accessibility/accessibledialogwindow.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx index 0b12b8d0b526..d360799be8b9 100644 --- a/basctl/source/accessibility/accessibledialogwindow.cxx +++ b/basctl/source/accessibility/accessibledialogwindow.cxx @@ -224,7 +224,7 @@ bool AccessibleDialogWindow::IsChildVisible( const ChildDescriptor& rDesc ) const SdrLayer* pSdrLayer = rLayerAdmin.GetLayerPerID( nLayerId ); if ( pSdrLayer ) { - ::rtl::OUString aLayerName = pSdrLayer->GetName(); + OUString aLayerName = pSdrLayer->GetName(); SdrView& rView = m_pDialogWindow->GetView(); if (rView.IsLayerVisible(aLayerName)) { @@ -607,18 +607,18 @@ void AccessibleDialogWindow::disposing() // XServiceInfo // ----------------------------------------------------------------------------- -::rtl::OUString AccessibleDialogWindow::getImplementationName() throw (RuntimeException) +OUString AccessibleDialogWindow::getImplementationName() throw (RuntimeException) { - return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.basctl.AccessibleWindow" )); + return OUString( "com.sun.star.comp.basctl.AccessibleWindow" ); } // ----------------------------------------------------------------------------- -sal_Bool AccessibleDialogWindow::supportsService( const ::rtl::OUString& rServiceName ) throw (RuntimeException) +sal_Bool AccessibleDialogWindow::supportsService( const OUString& rServiceName ) throw (RuntimeException) { - Sequence< ::rtl::OUString > aNames( getSupportedServiceNames() ); - const ::rtl::OUString* pNames = aNames.getConstArray(); - const ::rtl::OUString* pEnd = pNames + aNames.getLength(); + Sequence< OUString > aNames( getSupportedServiceNames() ); + const OUString* pNames = aNames.getConstArray(); + const OUString* pEnd = pNames + aNames.getLength(); for ( ; pNames != pEnd && !pNames->equals( rServiceName ); ++pNames ) ; @@ -627,10 +627,10 @@ sal_Bool AccessibleDialogWindow::supportsService( const ::rtl::OUString& rServic // ----------------------------------------------------------------------------- -Sequence< ::rtl::OUString > AccessibleDialogWindow::getSupportedServiceNames() throw (RuntimeException) +Sequence< OUString > AccessibleDialogWindow::getSupportedServiceNames() throw (RuntimeException) { - Sequence< ::rtl::OUString > aNames(1); - aNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.AccessibleWindow" )); + Sequence< OUString > aNames(1); + aNames[0] = "com.sun.star.awt.AccessibleWindow" ; return aNames; } @@ -739,11 +739,11 @@ sal_Int16 AccessibleDialogWindow::getAccessibleRole( ) throw (RuntimeException) // ----------------------------------------------------------------------------- -::rtl::OUString AccessibleDialogWindow::getAccessibleDescription( ) throw (RuntimeException) +OUString AccessibleDialogWindow::getAccessibleDescription( ) throw (RuntimeException) { OExternalLockGuard aGuard( this ); - ::rtl::OUString sDescription; + OUString sDescription; if ( m_pDialogWindow ) sDescription = m_pDialogWindow->GetAccessibleDescription(); @@ -752,11 +752,11 @@ sal_Int16 AccessibleDialogWindow::getAccessibleRole( ) throw (RuntimeException) // ----------------------------------------------------------------------------- -::rtl::OUString AccessibleDialogWindow::getAccessibleName( ) throw (RuntimeException) +OUString AccessibleDialogWindow::getAccessibleName( ) throw (RuntimeException) { OExternalLockGuard aGuard( this ); - ::rtl::OUString sName; + OUString sName; if ( m_pDialogWindow ) sName = m_pDialogWindow->GetAccessibleName(); @@ -918,20 +918,20 @@ Reference< awt::XFont > AccessibleDialogWindow::getFont( ) throw (RuntimeExcept // ----------------------------------------------------------------------------- -::rtl::OUString AccessibleDialogWindow::getTitledBorderText( ) throw (RuntimeException) +OUString AccessibleDialogWindow::getTitledBorderText( ) throw (RuntimeException) { OExternalLockGuard aGuard( this ); - return ::rtl::OUString(); + return OUString(); } // ----------------------------------------------------------------------------- -::rtl::OUString AccessibleDialogWindow::getToolTipText( ) throw (RuntimeException) +OUString AccessibleDialogWindow::getToolTipText( ) throw (RuntimeException) { OExternalLockGuard aGuard( this ); - ::rtl::OUString sText; + OUString sText; if ( m_pDialogWindow ) sText = m_pDialogWindow->GetQuickHelpText(); |