From 99b935ff7dd069f2a0aad5054d07bc6f71411d84 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 7 Oct 2015 21:26:06 +0300 Subject: Make this compile for iOS again Change-Id: Idd4a1e6d50652a879493d8411c59605ca1a53dfb --- vcl/ios/iosinst.cxx | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'vcl/ios') diff --git a/vcl/ios/iosinst.cxx b/vcl/ios/iosinst.cxx index 2b58ed7ab234..c94330c86f5a 100644 --- a/vcl/ios/iosinst.cxx +++ b/vcl/ios/iosinst.cxx @@ -47,28 +47,6 @@ void IosSalInstance::GetWorkArea( Rectangle& rRect ) Size( viewWidth, viewHeight ) ); } -/* - * Try too hard to get a frame, in the absence of anything better to do - */ -SalFrame *IosSalInstance::getFocusFrame() const -{ - SalFrame *pFocus = SvpSalFrame::GetFocusFrame(); - if (!pFocus) { - const std::list< SalFrame* >& rFrames( getFrames() ); - for( std::list< SalFrame* >::const_iterator it = rFrames.begin(); it != rFrames.end(); ++it ) - { - SvpSalFrame *pFrame = const_cast(static_cast(*it)); - if( pFrame->IsVisible() ) - { - pFrame->GetFocus(); - pFocus = pFrame; - break; - } - } - } - return pFocus; -} - IosSalInstance *IosSalInstance::getInstance() { if (!ImplGetSVData()) @@ -88,20 +66,6 @@ IosSalInstance::~IosSalInstance() { } -#if 0 - -bool IosSalInstance::AnyInput( VclInputFlags nType ) -{ - if( nType & VclInputFlags::TIMER ) - return CheckTimeout( false ); - - // Unfortunately there is no way to check for a specific type of - // input being queued. That information is too hidden, sigh. - return SvpSalInstance::s_pDefaultInstance->PostedEventsInQueue(); -} - -#endif - class IosSalSystem : public SvpSalSystem { public: IosSalSystem() : SvpSalSystem() {} @@ -122,7 +86,7 @@ class IosSalFrame : public SvpSalFrame public: IosSalFrame( IosSalInstance *pInstance, SalFrame *pParent, - sal_uLong nSalFrameStyle, + SalFrameStyleFlags nSalFrameStyle, SystemParentData *pSysParent ) : SvpSalFrame( pInstance, pParent, nSalFrameStyle, true, basebmp::Format::ThirtyTwoBitTcMaskRGBA, -- cgit