diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-30 13:29:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-02 11:10:31 +0100 |
commit | cd5bef5e19c2812386ab6afee4b3bc43fe5541b9 (patch) | |
tree | acaca75e4a2972beb0fc8c0867f048ccc238ec67 /sw/source/ui/misc/num.cxx | |
parent | e84d236a81af429e92f3da39a83cca02da8fe3aa (diff) |
weld ScShareDocumentDlg
Change-Id: I790f957c9ebc6d87a94a355c30215245aaabeb30
Reviewed-on: https://gerrit.libreoffice.org/64345
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/misc/num.cxx')
-rw-r--r-- | sw/source/ui/misc/num.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index 1ba855ed1239..eb4c03c4d523 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -90,7 +90,7 @@ SwNumPositionTabPage::SwNumPositionTabPage(TabPageParent pParent, const SfxItemS { SetExchangeSupport(); - m_xLevelLB->set_selection_mode(true); + m_xLevelLB->set_selection_mode(SelectionMode::Multiple); m_xRelativeCB->set_active(true); m_xAlignLB->connect_changed(LINK(this, SwNumPositionTabPage, EditModifyHdl)); @@ -410,7 +410,7 @@ void SwNumPositionTabPage::Reset( const SfxItemSet* rSet ) if (pOutlineDlg) { pSaveNum = pOutlineDlg->GetNumRule(); - m_xLevelLB->set_selection_mode(false); + m_xLevelLB->set_selection_mode(SelectionMode::Single); } else if(SfxItemState::SET == rSet->GetItemState(FN_PARAM_ACT_NUMBER, false, &pItem)) pSaveNum = const_cast<SwUINumRuleItem*>(static_cast<const SwUINumRuleItem*>(pItem))->GetNumRule(); |