[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-6-4+backports' - svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 26 12:40:50 UTC 2021


 svx/source/dialog/frmsel.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7a386360d3d434049995d177923396269d1588fa
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Apr 9 20:50:58 2021 +0100
Commit:     Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Mon Apr 26 14:40:19 2021 +0200

    Resolves: tdf#139075 diagonal focus rects contain focus rects of old size
    
    since...
    
    commit 356f6c5d89dd4dd92b2351898e07f99b96cb34cc
    Date:   Tue Jan 15 08:55:00 2013 +0000
    
        teach FrameSelector to be resizable
    
    Change-Id: I5ac4d1d12f60086349e7dbb3b78d29977f22c226
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113894
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114542
    Tested-by: Thorsten Behrens <thorsten.behrens at allotropia.de>
    Reviewed-by: Thorsten Behrens <thorsten.behrens at allotropia.de>

diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx
index 674b33a63bd2..599837913669 100644
--- a/svx/source/dialog/frmsel.cxx
+++ b/svx/source/dialog/frmsel.cxx
@@ -406,6 +406,9 @@ void FrameSelectorImpl::InitBorderGeometry()
     maHor.AddFocusPolygon(    tools::Rectangle( mnLine1 - mnFocusOffs, mnLine2 - mnFocusOffs, mnLine3 + mnFocusOffs, mnLine2 + mnFocusOffs ) );
     maBottom.AddFocusPolygon( tools::Rectangle( mnLine1 - mnFocusOffs, mnLine3 - mnFocusOffs, mnLine3 + mnFocusOffs, mnLine3 + mnFocusOffs ) );
 
+    maTLBR.ClearFocusArea();
+    maBLTR.ClearFocusArea();
+
     for( nCol = 0, nCols = maArray.GetColCount(); nCol < nCols; ++nCol )
     {
         for( nRow = 0, nRows = maArray.GetRowCount(); nRow < nRows; ++nRow )


More information about the Libreoffice-commits mailing list