diff options
author | Gülşah Köse <gulsah.kose@collabora.com> | 2019-06-10 10:23:40 +0300 |
---|---|---|
committer | Gülşah Köse <gulsah.kose@collabora.com> | 2019-06-14 22:51:40 +0200 |
commit | 8c0e209ddb40f4fd5419dd2190a40d1670c16a3d (patch) | |
tree | 157150446a56fff5b29581d08f2cdcfcef32eb0a /sd | |
parent | 3a53860fd0d345c288659a32b7438d6eebd921e0 (diff) |
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@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/BulletAndPositionDlg.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
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(); } |