summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2011-10-29 18:24:38 +0000
committerPedro Giffuni <pfg@apache.org>2011-10-29 18:24:38 +0000
commite426ce85ecb7c6c83d88909c09c7d1828007459f (patch)
treec7438e47c992ba0ff069f2b0b212986a1e353d77 /sfx2
parent71dec2405c57cff2c9f09b8c22ee97a41238addd (diff)
i108846 - sfx2: gtk quick starter is still a bit sick
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 00baae59b486..b5f4129a6474 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -580,8 +580,8 @@ void ShutdownIcon::terminateDesktop()
return;
// always remove ourselves as listener
- xDesktop->removeTerminateListener( pInst );
pInst->m_bListenForTermination = true;
+ xDesktop->removeTerminateListener( pInst );
// terminate desktop only if no tasks exist
Reference< XFramesSupplier > xSupplier( xDesktop, UNO_QUERY );