diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-10 12:16:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-10 12:25:17 +0200 |
commit | f6fb8a152797de4c5339b2fa5a3adf0e2ee0c349 (patch) | |
tree | f96d68eae4dd2bd9790d17a029e24118a517a57c /vcl/osx/salframe.cxx | |
parent | 08977ff115fca510f0152cf26ccf3df24640d8b4 (diff) |
fix OSX and Windows builds
after my "Convert SALEVENT to scoped enum" commit
Change-Id: Ib4a3f0e18fa5d8160446d5b5cd505bae651da7d5
Diffstat (limited to 'vcl/osx/salframe.cxx')
-rw-r--r-- | vcl/osx/salframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index a084520cbc78..a1498c512518 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -1245,7 +1245,7 @@ void AquaSalFrame::SetPosSize(long nX, long nY, long nWidth, long nHeight, sal_u // #i113170# may not be the main thread if called from UNO API SalData::ensureThreadAutoreleasePool(); - sal_uInt16 nEvent = 0; + SalEvent nEvent = SalEvent::NONE; if( [mpNSWindow isMiniaturized] ) [mpNSWindow deminiaturize: NSApp]; // expand the window @@ -1314,7 +1314,7 @@ void AquaSalFrame::SetPosSize(long nX, long nY, long nWidth, long nHeight, sal_u UpdateFrameGeometry(); - if (nEvent) + if (nEvent != SalEvent::NONE) CallCallback(nEvent, nullptr); if( mbShown && bPaint ) |