[Libreoffice-commits] core.git: vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 12 18:03:20 UTC 2020


 vcl/source/app/salvtables.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fc0cc8fd1ae92eed355e8569fd5ba2fa7cf0cc40
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 11 20:01:39 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jun 12 20:02:40 2020 +0200

    don't skip first column on toggle column check anymore
    
    Change-Id: Id9083ec432cba556538605692021d8c348322a16
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96164
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 786744707342..26dd0c585c1a 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -4782,7 +4782,7 @@ IMPL_LINK(SalInstanceTreeView, ToggleHdl, SvLBoxButtonData*, pData, void)
     // additionally set the cursor into the row the toggled element is in
     m_xTreeView->pImpl->m_pCursor = pEntry;
 
-    for (int i = 1, nCount = pEntry->ItemCount(); i < nCount; ++i)
+    for (int i = 0, nCount = pEntry->ItemCount(); i < nCount; ++i)
     {
         SvLBoxItem& rItem = pEntry->GetItem(i);
         if (&rItem == pBox)


More information about the Libreoffice-commits mailing list