svx/source/tbxctrls/tbunocontroller.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 24500143f2ec472afc47ff13acecafc39700c3f2 Author: Szymon Kłos <szymon.k...@collabora.com> AuthorDate: Sat Sep 9 22:24:07 2023 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Mon Sep 11 09:03:04 2023 +0200 jsdialog: set WindowId for font size combobox this is required to put combobox in correct map for receiveing events from user. without that font size was not possible to be changed from notebookbar in lok Change-Id: Id688b8fc1b3f565278ae651e050d18d75a048103 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156783 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index 191dfd4cc9be..62f7608bbf5f 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -33,6 +33,7 @@ #include <vcl/window.hxx> #include <vcl/settings.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <sfx2/viewsh.hxx> #include <svtools/ctrltool.hxx> #include <svtools/ctrlbox.hxx> #include <svtools/toolboxcontroller.hxx> @@ -313,7 +314,7 @@ void SvxFontSizeBox_Impl::SetOptimalSize() SvxFontSizeBox_Impl::SvxFontSizeBox_Impl(vcl::Window* pParent, const uno::Reference<frame::XFrame>& rFrame, FontHeightToolBoxControl& rCtrl) - : InterimItemWindow(pParent, "svx/ui/fontsizebox.ui", "FontSizeBox") + : InterimItemWindow(pParent, "svx/ui/fontsizebox.ui", "FontSizeBox", true, reinterpret_cast<sal_uInt64>(SfxViewShell::Current())) , SvxFontSizeBox_Base(m_xBuilder->weld_combo_box("fontsizecombobox"), rFrame, rCtrl) { }