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-03 09:50:36 +0100 |
commit | 196f174b5707760d41d8062aed6410ba08878326 (patch) | |
tree | b23478e1dc23b5b737341e32a2f6adc6a4351d71 /extensions | |
parent | 53170cae2057f705e779ec4b8538d422d071986e (diff) |
weld ScShareDocumentDlg
Change-Id: I790f957c9ebc6d87a94a355c30215245aaabeb30
Reviewed-on: https://gerrit.libreoffice.org/64421
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/listselectiondlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/listselectiondlg.cxx b/extensions/source/propctrlr/listselectiondlg.cxx index 5cbe35c7d3fc..29b3b19e3a58 100644 --- a/extensions/source/propctrlr/listselectiondlg.cxx +++ b/extensions/source/propctrlr/listselectiondlg.cxx @@ -72,7 +72,7 @@ namespace pcr // initialize the multi-selection flag bool bMultiSelection = false; OSL_VERIFY( m_xListBox->getPropertyValue( PROPERTY_MULTISELECTION ) >>= bMultiSelection ); - m_xEntries->set_selection_mode(bMultiSelection); + m_xEntries->set_selection_mode(bMultiSelection ? SelectionMode::Single : SelectionMode::Multiple); // fill the list box with all entries Sequence< OUString > aListEntries; |