summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 10:47:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 10:47:21 +0200
commit1569c87a9e0210957a564f607105138f8a746901 (patch)
tree5211f2c09f104f8df93b98885d92dab6784c55c1 /avmedia
parentcb92af91dac44f266fa15f91832247347627a479 (diff)
fix mac build after OSL_TRACE->SAL changes
Change-Id: I811d4b4be5ed20a90f405900b9f8a81b5381dd7c
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/player.mm1
-rw-r--r--avmedia/source/macavf/window.mm8
2 files changed, 4 insertions, 5 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm
index 7bf749484a0d..cfa7dc3b0df3 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 6b3f3543c770..805ee2634107 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)
{
}