diff options
author | Ricardo Montania <ricardo@linuxafundo.com.br> | 2012-09-14 12:20:23 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-09-15 01:05:49 +0000 |
commit | 50f5870632decd081d7396aef81d44c9523f2679 (patch) | |
tree | 107aecdcdc534c39dc33adf8c9d3b362c1dd7f91 /avmedia/source/gstreamer | |
parent | f3b0081044d0a5b98c6c8a5e2bf3dfd84287bc21 (diff) |
More ::rtl::OUString to OUString in avmedia
Change-Id: I0e49d84b5a7aa47dc315735a8198ba7fdde0b4e7
Reviewed-on: https://gerrit.libreoffice.org/621
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'avmedia/source/gstreamer')
-rw-r--r-- | avmedia/source/gstreamer/gstframegrabber.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx index 42236758da65..b33b909145b6 100644 --- a/avmedia/source/gstreamer/gstframegrabber.cxx +++ b/avmedia/source/gstreamer/gstframegrabber.cxx @@ -65,7 +65,7 @@ FrameGrabber::~FrameGrabber() // ------------------------------------------------------------------------------ -IMediaDet* FrameGrabber::implCreateMediaDet( const ::rtl::OUString& rURL ) const +IMediaDet* FrameGrabber::implCreateMediaDet( const OUString& rURL ) const { IMediaDet* pDet = NULL; @@ -88,7 +88,7 @@ IMediaDet* FrameGrabber::implCreateMediaDet( const ::rtl::OUString& rURL ) const // ------------------------------------------------------------------------------ -bool FrameGrabber::create( const ::rtl::OUString& rURL ) +bool FrameGrabber::create( const OUString& rURL ) { // just check if a MediaDet interface can be created with the given URL IMediaDet* pDet = implCreateMediaDet( rURL ); @@ -100,7 +100,7 @@ bool FrameGrabber::create( const ::rtl::OUString& rURL ) pDet = NULL; } else - maURL = ::rtl::OUString(); + maURL = OUString(); return( maURL.getLength() > 0 ); } @@ -205,15 +205,15 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe // ------------------------------------------------------------------------------ -::rtl::OUString SAL_CALL FrameGrabber::getImplementationName( ) +OUString SAL_CALL FrameGrabber::getImplementationName( ) throw (uno::RuntimeException) { - return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( AVMEDIA_GST_FRAMEGRABBER_IMPLEMENTATIONNAME ) ); + return OUString( AVMEDIA_GST_FRAMEGRABBER_IMPLEMENTATIONNAME ); } // ------------------------------------------------------------------------------ -sal_Bool SAL_CALL FrameGrabber::supportsService( const ::rtl::OUString& ServiceName ) +sal_Bool SAL_CALL FrameGrabber::supportsService( const OUString& ServiceName ) throw (uno::RuntimeException) { return ServiceName == AVMEDIA_GST_FRAMEGRABBER_SERVICENAME; @@ -221,11 +221,11 @@ sal_Bool SAL_CALL FrameGrabber::supportsService( const ::rtl::OUString& ServiceN // ------------------------------------------------------------------------------ -uno::Sequence< ::rtl::OUString > SAL_CALL FrameGrabber::getSupportedServiceNames( ) +uno::Sequence< OUString > SAL_CALL FrameGrabber::getSupportedServiceNames( ) throw (uno::RuntimeException) { - uno::Sequence< ::rtl::OUString > aRet(1); - aRet[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( AVMEDIA_GST_FRAMEGRABBER_SERVICENAME ) ); + uno::Sequence< OUString > aRet(1); + aRet[0] = AVMEDIA_GST_FRAMEGRABBER_SERVICENAME ; return aRet; } |