sfx2/source/view/viewfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6897efda2b2de107fd4b1b07f52f1276ce3a8bff Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Oct 9 10:32:29 2024 +0200 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Mon Oct 14 03:39:55 2024 +0200 sfx2: fix tip of day/what's new infobar not being displayed in 24.8 Since 1bd9747a126a3e82b6093c2b4af3b3a74774a3e9 "tdf#161209 - Reverts WhatsNew/Welcome dialog" In master, it was fixed by 69e7000ed420faf513002076089aca82bddfbc28 "Simplify checking for "running under unit/ui test"" Change-Id: I445028400bd91a6c1b593c54bb235fc4501636d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174716 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Tested-by: Jenkins diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index ffa63ca0585d..7ca40be2ffa6 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1458,7 +1458,7 @@ bool SfxApplication::IsHeadlessOrUITest() if (Application::IsHeadlessModeEnabled()) return true; - bool bIsUITest = getenv("LO_TESTNAME") == nullptr; //uitest.uicheck fails when the dialog is open + bool bIsUITest = getenv("LO_TESTNAME") != nullptr; //uitest.uicheck fails when the dialog is open for (sal_uInt16 i = 0, nCount = Application::GetCommandLineParamCount(); i < nCount; ++i) {