From 39ffccd26151d255168b072a2d439df48d172011 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 3 Jun 2014 09:09:20 +0300 Subject: WaE: case value not in enumerated type 'NSEventSubtype' Change-Id: Iaf5de07b7f0da7294681b9cdc152575a756a73c7 --- vcl/osx/salinst.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 78755d1f1597..7936b4a99f00 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -445,7 +445,8 @@ bool AquaSalInstance::isNSAppThread() const void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent ) { - switch( [pEvent subtype] ) + int nSubtype = [pEvent subtype]; + switch( nSubtype ) { case AppStartTimerEvent: AquaSalTimer::handleStartTimerEvent( pEvent ); -- cgit