diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-02 12:12:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-02 12:13:14 +0100 |
commit | 913d85c6a7f6b2d1c39a56c06947b3913c3b219a (patch) | |
tree | 861db3ce3ef9e7207ff47d5914ec3aa700d15868 /avmedia | |
parent | 7961a61efa8ed97a98d06dd2c08bd686faba8384 (diff) |
a stab at fixing the macosx build
Change-Id: Id50077d03c80819312ed55326d33108e24fd4e30
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/macavf/framegrabber.mm | 4 | ||||
-rw-r--r-- | avmedia/source/macavf/manager.mm | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/avmedia/source/macavf/framegrabber.mm b/avmedia/source/macavf/framegrabber.mm index 15c70a7532c6..c6b85964b099 100644 --- a/avmedia/source/macavf/framegrabber.mm +++ b/avmedia/source/macavf/framegrabber.mm @@ -111,14 +111,12 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe return ::rtl::OUString( AVMEDIA_MACAVF_FRAMEGRABBER_IMPLEMENTATIONNAME ); } - sal_Bool SAL_CALL FrameGrabber::supportsService( const ::rtl::OUString& ServiceName ) throw (uno::RuntimeException) { - return ServiceName.equalsAsciiL( AVMEDIA_MACAVF_FRAMEGRABBER_SERVICENAME ); + return ServiceName == AVMEDIA_MACAVF_FRAMEGRABBER_SERVICENAME; } - uno::Sequence< ::rtl::OUString > SAL_CALL FrameGrabber::getSupportedServiceNames( ) throw (uno::RuntimeException) { diff --git a/avmedia/source/macavf/manager.mm b/avmedia/source/macavf/manager.mm index 5ba5006f85a2..06fa6baeb199 100644 --- a/avmedia/source/macavf/manager.mm +++ b/avmedia/source/macavf/manager.mm @@ -63,7 +63,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const ::rtl::OU sal_Bool SAL_CALL Manager::supportsService( const ::rtl::OUString& ServiceName ) throw (uno::RuntimeException) { - return ServiceName.equalsAsciiL( AVMEDIA_MACAVF_MANAGER_SERVICENAME ); + return ServiceName == AVMEDIA_MACAVF_MANAGER_SERVICENAME; } |