diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-02-14 12:22:23 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-02-14 12:22:23 +0000 |
commit | a8420391cedf2941433f52c4377e9d8a88e70680 (patch) | |
tree | 5b73431c21b1ac98a18a534dda7db19b19fcbf66 /framework | |
parent | 409373aeb789089ae6353d5961073fb91738dbb3 (diff) |
#83248#: cancel termination if any component refuses
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/desktop.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 7818afb607de..d101bf09af9f 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -2,9 +2,9 @@ * * $RCSfile: desktop.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: as $ $Date: 2001-02-01 09:16:13 $ + * last change: $Author: mba $ $Date: 2001-02-14 13:22:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -439,7 +439,7 @@ sal_Bool SAL_CALL Desktop::terminate() throw( RuntimeException ) // Step over all child tasks and ask they "CAN I TERMINATE YOU AND ME?" Sequence< Reference< XFrame > > seqTasks = m_aChildTaskContainer.getAllElements(); sal_Int32 nCount = seqTasks.getLength(); - for( sal_Int32 nPosition=0; nPosition<nCount; ++nPosition ) + for( sal_Int32 nPosition=0; bReturn && nPosition<nCount; ++nPosition ) { // Get an element from container and cast it to task. // IT MUST BE A TASK! Childs of desktop everytime tasks. No pure frames accepted! |