summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2022-02-16 12:42:38 +0100
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2022-02-16 13:29:34 +0100
commit75ac604292e92dc08bb8ba5b9cc30799d643090a (patch)
tree9d19192c3b9897048b0ceec13624216368d746b7 /sfx2
parentfc2cdf4a61600a655629ea37099630da34a98cb1 (diff)
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.tietze@documentfoundation.org> Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/QuerySaveDocument.cxx2
1 files changed, 1 insertions, 1 deletions
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;