summaryrefslogtreecommitdiff
path: root/vcl/osx/salinst.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-06-03 09:09:20 +0300
committerTor Lillqvist <tml@collabora.com>2014-06-03 21:29:05 +0300
commit39ffccd26151d255168b072a2d439df48d172011 (patch)
treec2e0ac48b8b0829cc2523b523737394426db74e7 /vcl/osx/salinst.cxx
parente4dc93f5d8d0df50f1a8b4594220d0c57703e03d (diff)
WaE: case value not in enumerated type 'NSEventSubtype'
Change-Id: Iaf5de07b7f0da7294681b9cdc152575a756a73c7
Diffstat (limited to 'vcl/osx/salinst.cxx')
-rw-r--r--vcl/osx/salinst.cxx3
1 files changed, 2 insertions, 1 deletions
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 );