summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-10-02 06:35:41 +0000
committerMathias Bauer <mba@openoffice.org>2001-10-02 06:35:41 +0000
commite959238ae7df87cfa62a856f29577149e25ca675 (patch)
treeefbe0ed776a76032d3a92ad597f652a1edb60eb0 /framework
parent72bedaffed49bbea92789633a1e765f1ee6b9aa6 (diff)
#91774#: remove possible opened window for modified documents before closing the tasks
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/desktop.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 9df89a9be23e..35b4693b5f35 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: desktop.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: mba $ $Date: 2001-09-13 16:22:08 $
+ * last change: $Author: mba $ $Date: 2001-10-02 07:35:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,6 +107,8 @@
#include <general.h>
#endif
+#include <services/documentlist.hxx>
+
//_________________________________________________________________________________________________________________
// interface includes
//_________________________________________________________________________________________________________________
@@ -504,6 +506,8 @@ sal_Bool SAL_CALL Desktop::terminate() throw( css::uno::RuntimeException )
( bPipeVeto == sal_False )
)
{
+ ModifiedDocumentsWindow::Remove();
+
// Step over all child tasks and ask they "WOULD YOU DIE?"
css::uno::Sequence< css::uno::Reference< css::frame::XFrame > > lTasks = m_aChildTaskContainer.getAllElements();
sal_Int32 nCount = lTasks.getLength() ;