summaryrefslogtreecommitdiff
path: root/svx/source/dialog/srchdlg.cxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-11-30 02:36:07 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-11-30 09:41:21 +0100
commit9ccfc8a719bfcb34baff8559dc33a9cd5b638646 (patch)
tree5affa91963a75aa93b6aad86ef68dcdbcabf8794 /svx/source/dialog/srchdlg.cxx
parent05c8f91d5abf79f3591b5979ae01a17f2b153880 (diff)
tdf#130857 Search dialog: Use weld::Container ptr instead of Box
None of the weld::Box methods are used, so having a pointer to the weld::Container subclass is sufficient in the "Find and Replace" dialog implementation. Change-Id: I1219dd657ab8fb6067c90aabdc27b2b84c0a1443 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177577 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'svx/source/dialog/srchdlg.cxx')
-rw-r--r--svx/source/dialog/srchdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 480042ea2ce7..6d9d597e90d1 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -261,7 +261,7 @@ SvxSearchDialog::SvxSearchDialog(weld::Window* pParent, SfxChildWindow* pChildWi
, m_xSearchAttrText(m_xBuilder->weld_label(u"searchdesc"_ustr))
, m_xSearchLabel(m_xBuilder->weld_label(u"searchlabel"_ustr))
, m_xSearchIcon(m_xBuilder->weld_image(u"searchicon"_ustr))
- , m_xSearchBox(m_xBuilder->weld_box(u"searchbox"_ustr))
+ , m_xSearchBox(m_xBuilder->weld_container(u"searchbox"_ustr))
, m_xReplaceFrame(m_xBuilder->weld_frame(u"replaceframe"_ustr))
, m_xReplaceLB(m_xBuilder->weld_combo_box(u"replaceterm"_ustr))
, m_xReplaceTmplLB(m_xBuilder->weld_combo_box(u"replacelist"_ustr))