diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-19 13:45:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-19 22:56:06 +0100 |
commit | 312aaa0f8deb571fd507a0fa7af74b16cd1b7000 (patch) | |
tree | 2b3aa60bea425c06bcd3900bb87e045b7dfd1712 /avmedia/source | |
parent | a70a8d26f149f6af6443446a97ac515e0dba0d50 (diff) |
loplugin:redundantcast (after loplugin:cstylecast, macOS)
Change-Id: Ife73b464b39c1556f4549226d835d6c8f2b50c1a
Reviewed-on: https://gerrit.libreoffice.org/48191
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/macavf/player.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index cf94c495911e..2df11fba099b 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -37,7 +37,7 @@ using namespace ::com::sun::star; - (void)onNotification:(NSNotification*)pNotification { - NSString* pNoteName = (NSString*)[pNotification name]; + NSString* pNoteName = [pNotification name]; HandlersForObject::iterator it = maHandlersForObject.find( [pNotification object]); if( it != maHandlersForObject.end() ) (*it).second->handleObservation( pNoteName ); |