diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-30 14:43:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-01 17:27:18 +0200 |
commit | dbb4df8568726173f69297611936976ff354c2cf (patch) | |
tree | 0ede59204279cf9af3a5d8e94bd031913b6649ef /sw | |
parent | 157aff3edbfc6f937cc2e51ed48f01e9c00d3a4a (diff) |
weld ScShowTabDlg
Change-Id: Ice5da193d0efbf8e4a61d68c0fcef90f6c6d8e78
Reviewed-on: https://gerrit.libreoffice.org/53665
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fldui/DropDownFieldDialog.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/misc/outline.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/table/tautofmt.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/fldui/DropDownFieldDialog.cxx b/sw/source/ui/fldui/DropDownFieldDialog.cxx index d21758e062dc..d467cfa3470e 100644 --- a/sw/source/ui/fldui/DropDownFieldDialog.cxx +++ b/sw/source/ui/fldui/DropDownFieldDialog.cxx @@ -70,7 +70,7 @@ sw::DropDownFieldDialog::DropDownFieldDialog(weld::Window *pParent, SwWrtShell & const OUString* pArray = aItems.getConstArray(); for (sal_Int32 i = 0; i < aItems.getLength(); ++i) m_xListItemsLB->append_text(pArray[i]); - m_xListItemsLB->select(m_pDropField->GetSelectedItem()); + m_xListItemsLB->select_text(m_pDropField->GetSelectedItem()); } bool bEnable = !m_rSh.IsCursorReadonly(); @@ -87,7 +87,7 @@ void sw::DropDownFieldDialog::Apply() { if (m_pDropField) { - OUString sSelect = m_xListItemsLB->get_selected(); + OUString sSelect = m_xListItemsLB->get_selected_text(); if (m_pDropField->GetPar1() != sSelect) { m_rSh.StartAllAction(); diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx index 7fb4fd8a9d95..c76b640226dd 100644 --- a/sw/source/ui/misc/outline.cxx +++ b/sw/source/ui/misc/outline.cxx @@ -75,7 +75,7 @@ public: // remember selected entry IMPL_LINK( SwNumNamesDlg, SelectHdl, weld::TreeView&, rBox, void ) { - m_xFormEdit->set_text(rBox.get_selected()); + m_xFormEdit->set_text(rBox.get_selected_text()); m_xFormEdit->select_region(0, -1); } diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index a66761b483d4..c8d8b0fd2395 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -265,7 +265,7 @@ IMPL_LINK_NOARG(SwAutoFormatDlg, RemoveHdl, weld::Button&, void) { OUString aMessage = m_aStrDelMsg; aMessage += "\n\n"; - aMessage += m_xLbFormat->get_selected(); + aMessage += m_xLbFormat->get_selected_text(); aMessage += "\n"; std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(m_xDialog.get(), VclMessageType::Question, @@ -303,7 +303,7 @@ IMPL_LINK_NOARG(SwAutoFormatDlg, RenameHdl, weld::Button&, void) bool bOk = false; while( !bOk ) { - SwStringInputDlg aDlg(m_xDialog.get(), m_aStrRenameTitle, m_aStrLabel, m_xLbFormat->get_selected()); + SwStringInputDlg aDlg(m_xDialog.get(), m_aStrRenameTitle, m_aStrLabel, m_xLbFormat->get_selected_text()); if (aDlg.run() == RET_OK) { bool bFormatRenamed = false; |