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

Gülşah Köse (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 14 20:52:51 UTC 2019


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

New commits:
commit 8c0e209ddb40f4fd5419dd2190a40d1670c16a3d
Author:     Gülşah Köse <gulsah.kose at collabora.com>
AuthorDate: Mon Jun 10 10:23:40 2019 +0300
Commit:     Gülşah Köse <gulsah.kose at collabora.com>
CommitDate: Fri Jun 14 22:51:40 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>

diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
index bbf5c6687bd8..5b2994e06f91 100644
--- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx
+++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
@@ -727,19 +727,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