summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-15 16:46:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-15 19:29:54 +0100
commit72bc1fad399f78c48b186dee8759e12654cdf5d5 (patch)
treedd11834938445223a69c62986987b00be8228c37 /avmedia
parent565bcfbdcbebc68c07eee9a30e0f82b0fdf7e846 (diff)
loplugin:fakebool and loplugin:consttobool (macOS)
Change-Id: I42d6546a9a400d8edb9ecef82614c6c88d4e6e83 Reviewed-on: https://gerrit.libreoffice.org/82806 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/window.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/macavf/window.mm b/avmedia/source/macavf/window.mm
index 6d062af593e3..523ee0b43eac 100644
--- a/avmedia/source/macavf/window.mm
+++ b/avmedia/source/macavf/window.mm
@@ -73,7 +73,7 @@ Window::~Window()
bool Window::handleObservation( NSString* /*pKeyPath*/ )
{
- const BOOL bReadyForDisplay = [mpPlayerLayer isReadyForDisplay];
+ const bool bReadyForDisplay = [mpPlayerLayer isReadyForDisplay];
[mpPlayerLayer setHidden:!bReadyForDisplay];
return true;
}