From 2a0444f7ad5178223efcb2870735c6115f30eb89 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 23 Apr 2012 19:04:40 +0300 Subject: WaE: assigning to 'AquaOpenGLView *' from incompatible type 'NSOpenGLView *' --- slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm index 8d2ab4e8a21d..c173a012e4a6 100644 --- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm +++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm @@ -425,7 +425,7 @@ bool OGLTransitionerImpl::initWindowFromSlideShowView( const Reference< presenta Point aScreen( pPWindow->OutputToScreenPixel( Point() ) ); GLWin.aInitFrame = (NSRect){ { aScreen.X(), aFrameSize.Height() - GLWin.Height - aScreen.Y() }, { GLWin.Width, GLWin.Height } }; - GLWin.pAquaOpenGLView = [[NSOpenGLView alloc]initWithFrame: GLWin.aInitFrame pixelFormat: fmt]; + GLWin.pAquaOpenGLView = (AquaOpenGLView *)[[NSOpenGLView alloc]initWithFrame: GLWin.aInitFrame pixelFormat: fmt]; OSL_ENSURE(GLWin.pAquaOpenGLView, "Could not create NSOPenGLView"); if( !GLWin.pAquaOpenGLView ) return false; -- cgit