svx/source/tbxctrls/tbunocontroller.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 6182deca602d533d1b2e379ba62d890681608144 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 18 18:13:41 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> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157023 Tested-by: Jenkins diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index dfdb431dc504..148098c10e82 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> @@ -308,7 +309,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) { }