[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sd/source

Gülşah Köse (via logerrit) logerrit at kemper.freedesktop.org
Sat Jun 15 05:33:50 UTC 2019


 sd/source/ui/dlg/BulletAndPositionDlg.cxx |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

New commits:
commit 2ab93756963727b8dde43b405e2daee3e1bf9deb
Author:     Gülşah Köse <gulsah.kose at collabora.com>
AuthorDate: Mon Jun 10 10:23:40 2019 +0300
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Sat Jun 15 07:33:02 2019 +0200

    tdf#125774 Remove double call SvTreeListBox::Select for non-gtk backends
    
    Change-Id: Ic8238d91f1cddb8fe627fafb0587751de308f6ac
    Reviewed-on: https://gerrit.libreoffice.org/73747
    Tested-by: Jenkins
    Reviewed-by: Gülşah Köse <gulsah.kose at collabora.com>
    (cherry picked from commit 8c0e209ddb40f4fd5419dd2190a40d1670c16a3d)
    Reviewed-on: https://gerrit.libreoffice.org/74084
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
index a9fc0adcd9b8..2905170627a4 100644
--- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx
+++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
@@ -747,19 +747,8 @@ IMPL_LINK(SvxBulletAndPositionDlg, LevelHdl_Impl, weld::TreeView&, rBox, void)
         rBox.unselect(pActNum->GetLevelCount());
     }
     else
-    {
         nActNumLvl = nSaveNumLvl;
-        sal_uInt16 nMask = 1;
-        for (sal_uInt16 i = 0; i < pActNum->GetLevelCount(); i++)
-        {
-            if (nActNumLvl & nMask)
-            {
-                rBox.select(i);
-                break;
-            }
-            nMask <<= 1;
-        }
-    }
+
     InitControls();
 }
 


More information about the Libreoffice-commits mailing list