diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-03 10:58:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-03 10:58:26 +0200 |
commit | 643b70006fd5f6762561696421808f20d4e1e86f (patch) | |
tree | e770962bd4830b9b41abf5446f5674f67c164048 /avmedia | |
parent | 9cf0ac710a6ace0a833fa193c7e18c4a7405bc42 (diff) |
Teach loplugin:stringconstant about RTL_CONSTASCII_STRINGPARAM
Change-Id: I8ff0e104aad045f3835dc8facc760a8339b1d088
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/macavf/player.mm | 2 | ||||
-rw-r--r-- | avmedia/source/macavf/window.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index 4f753c3f0441..e747364d55af 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -392,7 +392,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL Player::createFrameGrabber() sal_Bool SAL_CALL Player::supportsService( const ::rtl::OUString& ServiceName ) throw (uno::RuntimeException) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( AVMEDIA_MACAVF_PLAYER_SERVICENAME ) ); + return ServiceName == AVMEDIA_MACAVF_PLAYER_SERVICENAME; } diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm index 0ddee7fe120d..6bfd6c122466 100644 --- a/avmedia/source/macavf/window.mm +++ b/avmedia/source/macavf/window.mm @@ -282,7 +282,7 @@ void SAL_CALL Window::removeEventListener( const uno::Reference< lang::XEventLis sal_Bool SAL_CALL Window::supportsService( const ::rtl::OUString& ServiceName ) throw (uno::RuntimeException) { - return ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM ( AVMEDIA_MACAVF_WINDOW_SERVICENAME ) ); + return ServiceName == AVMEDIA_MACAVF_WINDOW_SERVICENAME; } |