From 8c0e209ddb40f4fd5419dd2190a40d1670c16a3d Mon Sep 17 00:00:00 2001 From: Gülşah Köse Date: Mon, 10 Jun 2019 10:23:40 +0300 Subject: tdf#125774 Remove double call SvTreeListBox::Select for non-gtk backends MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic8238d91f1cddb8fe627fafb0587751de308f6ac Reviewed-on: https://gerrit.libreoffice.org/73747 Tested-by: Jenkins Reviewed-by: Gülşah Köse --- sd/source/ui/dlg/BulletAndPositionDlg.cxx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sd') 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(); } -- cgit