From 1ec2482f8e3693ec4d9335d3fb44af20bd77de49 Mon Sep 17 00:00:00 2001 From: Ricardo Montania Date: Tue, 18 Sep 2012 12:52:14 -0300 Subject: More ::rtl::OUString to OUString and some sal_Bool to bool in avmedia Change-Id: Ia3ed38eb017e02df7109e684bc59017f47af3543 Reviewed-on: https://gerrit.libreoffice.org/644 Reviewed-by: Miklos Vajna Tested-by: Miklos Vajna --- avmedia/source/gstreamer/gstwindow.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'avmedia/source/gstreamer/gstwindow.cxx') diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx index e7809ef74b58..b9078307ba5c 100644 --- a/avmedia/source/gstreamer/gstwindow.cxx +++ b/avmedia/source/gstreamer/gstwindow.cxx @@ -295,15 +295,15 @@ void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventLis // XServiceInfo // ------------------------------------------------------------------------------ -::rtl::OUString SAL_CALL Window::getImplementationName( ) +OUString SAL_CALL Window::getImplementationName( ) throw (uno::RuntimeException) { - return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( AVMEDIA_GST_WINDOW_IMPLEMENTATIONNAME ) ); + return OUString( AVMEDIA_GST_WINDOW_IMPLEMENTATIONNAME ); } // ------------------------------------------------------------------------------ -sal_Bool SAL_CALL Window::supportsService( const ::rtl::OUString& ServiceName ) +sal_Bool SAL_CALL Window::supportsService( const OUString& ServiceName ) throw (uno::RuntimeException) { return ServiceName == AVMEDIA_GST_WINDOW_SERVICENAME; @@ -311,11 +311,11 @@ sal_Bool SAL_CALL Window::supportsService( const ::rtl::OUString& ServiceName ) // ------------------------------------------------------------------------------ -uno::Sequence< ::rtl::OUString > SAL_CALL Window::getSupportedServiceNames( ) +uno::Sequence< OUString > SAL_CALL Window::getSupportedServiceNames( ) throw (uno::RuntimeException) { - uno::Sequence< ::rtl::OUString > aRet(1); - aRet[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( AVMEDIA_GST_WINDOW_SERVICENAME ) ); + uno::Sequence< OUString > aRet(1); + aRet[0] = AVMEDIA_GST_WINDOW_SERVICENAME ; return aRet; } -- cgit