summaryrefslogtreecommitdiff
path: root/sw/source/ui/table
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-18 15:05:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-20 08:19:48 +0200
commit0f34e96a5ce68a3039f65cd0f896b33f2d20af5f (patch)
tree2ea420b96865e6fe69bbbbc1915d3b1ac4c1e808 /sw/source/ui/table
parentf05b0a6aaf8af5d78f9cad8bb953228cb0ce09f1 (diff)
return weld widgets by std::unique_ptr from builder
Change-Id: I20c007b13dae2d1155034711ad1ad48bfdfd0ba8 Reviewed-on: https://gerrit.libreoffice.org/59288 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r--sw/source/ui/table/tabledlg.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 1690504aff99..ba617f7f8177 100644
--- a/sw/source/ui/table/tabledlg.cxx
+++ b/sw/source/ui/table/tabledlg.cxx
@@ -713,12 +713,12 @@ SwTableColumnPage::SwTableColumnPage(TabPageParent pParent, const SfxItemSet& rS
m_xBuilder->weld_metric_spin_button("width4", FUNIT_CM),
m_xBuilder->weld_metric_spin_button("width5", FUNIT_CM),
m_xBuilder->weld_metric_spin_button("width6", FUNIT_CM) }
- , m_aTextArr { std::unique_ptr<weld::Label>(m_xBuilder->weld_label("1")),
- std::unique_ptr<weld::Label>(m_xBuilder->weld_label("2")),
- std::unique_ptr<weld::Label>(m_xBuilder->weld_label("3")),
- std::unique_ptr<weld::Label>(m_xBuilder->weld_label("4")),
- std::unique_ptr<weld::Label>(m_xBuilder->weld_label("5")),
- std::unique_ptr<weld::Label>(m_xBuilder->weld_label("6")) }
+ , m_aTextArr { m_xBuilder->weld_label("1"),
+ m_xBuilder->weld_label("2"),
+ m_xBuilder->weld_label("3"),
+ m_xBuilder->weld_label("4"),
+ m_xBuilder->weld_label("5"),
+ m_xBuilder->weld_label("6") }
, m_xModifyTableCB(m_xBuilder->weld_check_button("adaptwidth"))
, m_xProportionalCB(m_xBuilder->weld_check_button("adaptcolumns"))
, m_xSpaceFT(m_xBuilder->weld_label("spaceft"))