salinst.cxx (dbfe0a54) salinst.cxx (01367266)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 199 unchanged lines hidden (view full) ---

208
209sal_Bool ImplSVMainHook( sal_Bool * pbInit )
210{
211 gpbInit = pbInit;
212
213 bNoSVMain = false;
214 initNSApp();
215
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 199 unchanged lines hidden (view full) ---

208
209sal_Bool ImplSVMainHook( sal_Bool * pbInit )
210{
211 gpbInit = pbInit;
212
213 bNoSVMain = false;
214 initNSApp();
215
216 NSPoint aPt = { 0, 0 };
217 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined
216 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined
218 location: aPt
217 location: NSZeroPoint
219 modifierFlags: 0
220 timestamp: 0
221 windowNumber: 0
222 context: nil
223 subtype: AquaSalInstance::AppExecuteSVMain
224 data1: 0
225 data2: 0 ];
226 if( pEvent )

--- 263 unchanged lines hidden (view full) ---

490// -----------------------------------------------------------------------
491
492void AquaSalInstance::wakeupYield()
493{
494 // wakeup :Yield
495 if( mbWaitingYield )
496 {
497 SalData::ensureThreadAutoreleasePool();
218 modifierFlags: 0
219 timestamp: 0
220 windowNumber: 0
221 context: nil
222 subtype: AquaSalInstance::AppExecuteSVMain
223 data1: 0
224 data2: 0 ];
225 if( pEvent )

--- 263 unchanged lines hidden (view full) ---

489// -----------------------------------------------------------------------
490
491void AquaSalInstance::wakeupYield()
492{
493 // wakeup :Yield
494 if( mbWaitingYield )
495 {
496 SalData::ensureThreadAutoreleasePool();
498 NSPoint aPt = { 0, 0 };
499 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined
497 NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined
500 location: aPt
498 location: NSZeroPoint
501 modifierFlags: 0
502 timestamp: 0
503 windowNumber: 0
504 context: nil
505 subtype: AquaSalInstance::YieldWakeupEvent
506 data1: 0
507 data2: 0 ];
508 if( pEvent )

--- 828 unchanged lines hidden ---
499 modifierFlags: 0
500 timestamp: 0
501 windowNumber: 0
502 context: nil
503 subtype: AquaSalInstance::YieldWakeupEvent
504 data1: 0
505 data2: 0 ];
506 if( pEvent )

--- 828 unchanged lines hidden ---