[Libreoffice-commits] core.git: avmedia/source
Stephan Bergmann
sbergman at redhat.com
Fri Jan 19 21:56:29 UTC 2018
avmedia/source/macavf/player.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 312aaa0f8deb571fd507a0fa7af74b16cd1b7000
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 19 13:45:01 2018 +0100
loplugin:redundantcast (after loplugin:cstylecast, macOS)
Change-Id: Ife73b464b39c1556f4549226d835d6c8f2b50c1a
Reviewed-on: https://gerrit.libreoffice.org/48191
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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 );
More information about the Libreoffice-commits
mailing list