[Libreoffice-commits] core.git: avmedia/source

Noel Grandin noel.grandin at collabora.co.uk
Tue Dec 13 08:48:02 UTC 2016


 avmedia/source/macavf/player.mm |    1 -
 avmedia/source/macavf/window.mm |    8 ++++----
 2 files changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 1569c87a9e0210957a564f607105138f8a746901
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Tue Dec 13 10:47:21 2016 +0200

    fix mac build after OSL_TRACE->SAL changes
    
    Change-Id: I811d4b4be5ed20a90f405900b9f8a81b5381dd7c

diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm
index 7bf7494..cfa7dc3 100644
--- a/avmedia/source/macavf/player.mm
+++ b/avmedia/source/macavf/player.mm
@@ -30,7 +30,6 @@ using namespace ::com::sun::star;
 - (void)observeValueForKeyPath:(NSString*)pKeyPath ofObject:(id)pObject change:(NSDictionary*)pChangeDict context:(void*)pContext
 {
     (void) pObject;
-    NSString* pDictStr = [NSString stringWithFormat:@"%@", pChangeDict];
     avmedia::macavf::MacAVObserverHandler* pHandler = static_cast<avmedia::macavf::MacAVObserverHandler*>(pContext);
     pHandler->handleObservation( pKeyPath );
 }
diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm
index 6b3f354..805ee26 100644
--- a/avmedia/source/macavf/window.mm
+++ b/avmedia/source/macavf/window.mm
@@ -73,7 +73,7 @@ Window::~Window()
 }
 
 
-bool Window::handleObservation( NSString* pKeyPath )
+bool Window::handleObservation( NSString* /*pKeyPath*/ )
 {
     const BOOL bReadyForDisplay = [mpPlayerLayer isReadyForDisplay];
     [mpPlayerLayer setHidden:!bReadyForDisplay];
@@ -109,7 +109,7 @@ void SAL_CALL Window::setPointerType( sal_Int32 nPointerType )
 
 // XWindow
 
-void SAL_CALL Window::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 /* Flags */ )
+void SAL_CALL Window::setPosSize( sal_Int32 /*X*/, sal_Int32 /*Y*/, sal_Int32 Width, sal_Int32 Height, sal_Int16 /* Flags */ )
     throw (uno::RuntimeException)
 {
     if( !mpView )
@@ -140,13 +140,13 @@ awt::Rectangle SAL_CALL Window::getPosSize()
 }
 
 
-void SAL_CALL Window::setVisible( sal_Bool bVisible )
+void SAL_CALL Window::setVisible( sal_Bool /*bVisible*/ )
     throw (uno::RuntimeException)
 {
 }
 
 
-void SAL_CALL Window::setEnable( sal_Bool bEnable )
+void SAL_CALL Window::setEnable( sal_Bool /*bEnable*/ )
     throw (uno::RuntimeException)
 {
 }


More information about the Libreoffice-commits mailing list