summaryrefslogtreecommitdiff
path: root/avmedia/source
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/macavf/player.mm2
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 );