sfx2/source/doc/QuerySaveDocument.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 75ac604292e92dc08bb8ba5b9cc30799d643090a
Author:     Heiko Tietze <tietze.he...@gmail.com>
AuthorDate: Wed Feb 16 12:42:38 2022 +0100
Commit:     Heiko Tietze <heiko.tie...@documentfoundation.org>
CommitDate: Wed Feb 16 13:29:34 2022 +0100

    Related tdf#143578 - Rename SAL_NO_QUERYSAVE to NO_QUERYSAVE
    
    Change-Id: Iccec99ba55a1a99a71c685489890e0695a6d6d5d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129992
    Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org>
    Tested-by: Heiko Tietze <heiko.tie...@documentfoundation.org>

diff --git a/sfx2/source/doc/QuerySaveDocument.cxx 
b/sfx2/source/doc/QuerySaveDocument.cxx
index 4abc612dcf90..49b3eecf0f77 100644
--- a/sfx2/source/doc/QuerySaveDocument.cxx
+++ b/sfx2/source/doc/QuerySaveDocument.cxx
@@ -23,7 +23,7 @@
 
 short ExecuteQuerySaveDocument(weld::Widget* _pParent, std::u16string_view 
_rTitle)
 {
-    if (Application::IsHeadlessModeEnabled() || getenv("SAL_NO_QUERYSAVE"))
+    if (Application::IsHeadlessModeEnabled() || getenv("NO_QUERYSAVE"))
     {
         // don't block Desktop::terminate() if there's no user to ask
         return RET_NO;

Reply via email to