summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authormb93783 <mb93783@v60x-so15.Germany.Sun.COM>2009-12-02 12:43:33 +0100
committermb93783 <mb93783@v60x-so15.Germany.Sun.COM>2009-12-02 12:43:33 +0100
commit726f87d603a38c988a8425d42f023b03bda725b1 (patch)
tree9aabbedb96a77bdd8401334b9df4c30d9319dcad /desktop
parent39cb219b68d81efc454d1860d6b3c42b204c1eb5 (diff)
parentef1ec7001a06a6ba0fdbed702bcd7a6fec58eaf9 (diff)
merge to m66
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index ea39fbbbd2b6..106fae5c71d3 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1741,8 +1741,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 ),