#i105753# fix quickstart mode on Mac
This commit is contained in:
parent
ab33e14647
commit
62ca52de9f
1 changed files with 8 additions and 1 deletions
|
@ -1738,8 +1738,15 @@ sal_Bool Desktop::InitializeQuickstartMode( Reference< XMultiServiceFactory >& r
|
|||
aSeq[0] <<= bQuickstart;
|
||||
|
||||
// Try to instanciate quickstart service. This service is not mandatory, so
|
||||
// do nothing if service is not available.
|
||||
// do nothing if service is not available
|
||||
|
||||
// #i105753# the following if was invented for performance
|
||||
// unfortunately this broke the QUARTZ behavior which is to always run
|
||||
// in quickstart mode since Mac applications do not usually quit
|
||||
// when the last document closes
|
||||
#ifndef QUARTZ
|
||||
if ( bQuickstart )
|
||||
#endif
|
||||
{
|
||||
Reference < XComponent > xQuickstart( rSMgr->createInstanceWithArguments(
|
||||
DEFINE_CONST_UNICODE( "com.sun.star.office.Quickstart" ), aSeq ),
|
||||
|
|
Loading…
Reference in a new issue