vcl/win/window/salframe.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit a123c8c86fa4668ff1f7650bc087964441672ee9 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Feb 23 09:44:21 2025 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Feb 23 11:48:45 2025 +0100
Try fix local variable is initialized but not referenced for ARM TB Change-Id: Ib74892d60fd2d9b9a34ef4cca4f9c7872364e0f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182063 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 7fd12ef926d7..d105d25b82fa 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -1024,6 +1024,7 @@ SalGraphics* WinSalFrame::AcquireGraphics() HDC hDC = nullptr; assert(pSalData->mpInstance->IsMainThread()); + SAL_WARN_IF(!pSalData->mpInstance->IsMainThread(), "vcl", "ERROR: pSalData->mpInstance is not main thread!"); if ( !mpLocalGraphics ) mpLocalGraphics = new WinSalGraphics(WinSalGraphics::WINDOW, true, mhWnd, this); pGraphics = mpLocalGraphics;