summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorAungKhantOo <wildgugu2020@gmail.com>2024-04-12 21:01:41 +0000
committerAndreas Heinisch <andreas.heinisch@yahoo.de>2024-06-27 08:05:15 +0200
commit9d9cd7804919c518ed12875a81f520bee878d737 (patch)
treed37a34cdd036ccb238c9c07860788449f8ffd7eb /sfx2/source/inc
parentc8f72c2a3a7b347c54089d96b0794b4586022688 (diff)
tdf#159380 Add an UNO command to close all documents
Add an UNO command which closes the documents and also prompts the user to save while closing unsaved documents. This command also open the start center after all the documents are successfully closed. Change-Id: I9c502cfa2e550c6f60fa8867fb42e36aded65999 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166041 Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de> Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/appdata.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx
index 6362d05d093d..400dcae776d6 100644
--- a/sfx2/source/inc/appdata.hxx
+++ b/sfx2/source/inc/appdata.hxx
@@ -114,6 +114,7 @@ public:
bool bDowning:1; // sal_True on Exit and afterwards
bool bInQuit : 1;
+ bool bClosingDocs : 1;
SfxAppData_Impl();
~SfxAppData_Impl();