sw/source/core/crsr/viscrs.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b85811b63b3ee2ff68a51f2391bc3825f953f36e
Author:     Mike Kaganski <[email protected]>
AuthorDate: Mon Dec 1 10:42:22 2025 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Mon Dec 1 15:02:36 2025 +0100

    Fix --with-yrs build
    
    ... after commit dbe29bc354105314e83edf7069ba34caf73956eb (Revert
    "Prevent cursor invalidation if the cursor position doesn't change.",
    2025-11-30).
    
    Change-Id: I1baa3190d8a60f1fc5b9f1dd146a6c0361769145
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194867
    Reviewed-by: Mike Kaganski <[email protected]>
    Tested-by: Jenkins

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 3ddcd9999a31..150be2666e82 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -968,7 +968,7 @@ void SwShellCursor::FillRects()
         if (SwVisibleCursor *const 
pVisibleCursor{GetShell()->FindVisibleCursorForPeer(*this)})
         {
             // use OutDev.GetSettings().GetStyleSettings().GetCursorSize() as 
width?
-            auto [cursorRect, _] {pVisibleCursor->SetPos()};
+            auto cursorRect{ pVisibleCursor->SetPos() };
             if (cursorRect.IsEmpty())
             {
                 cursorRect.Width(20);

Reply via email to