summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-07-02 09:30:51 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2020-07-02 11:04:50 +0200
commit1600dd7929d18b6d234bdb975798882ef73722a7 (patch)
tree65fea2ba54d709759d84b91bfb7a35730a3825a5 /svtools
parent3bff52cae392cf7e45729a3469333b0e76b3d874 (diff)
Revert "weld SvxFontSizeBox_Impl"
This reverts commit f3ad8a70c3c15fd57891b0d2fe0bb0a5d2aa39a2. Change caused font size combbobx to not work on mobile devices in online. Change-Id: I41fc370866689b047aeeec056dff708e24dbc11f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97722 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 95347ffcb0bb..8efb03a0e568 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -52,8 +52,6 @@
#include <rtl/bootstrap.hxx>
-#include <boost/property_tree/ptree.hpp>
-
#include <borderline.hrc>
#include <stdio.h>
@@ -1106,12 +1104,7 @@ SvtFontSizeBox::SvtFontSizeBox(std::unique_ptr<weld::ComboBox> p)
m_xComboBox->connect_changed(LINK(this, SvtFontSizeBox, ModifyHdl));
}
-boost::property_tree::ptree SvtFontSizeBox::get_property_tree() const
-{
- return m_xComboBox->get_property_tree();
-}
-
-IMPL_LINK(SvtFontSizeBox, ReformatHdl, weld::Widget&, rWidget, void)
+IMPL_LINK_NOARG(SvtFontSizeBox, ReformatHdl, weld::Widget&, void)
{
FontSizeNames aFontSizeNames(Application::GetSettings().GetUILanguageTag().getLanguageType());
if (!bRelativeMode || !aFontSizeNames.IsEmpty())
@@ -1121,8 +1114,6 @@ IMPL_LINK(SvtFontSizeBox, ReformatHdl, weld::Widget&, rWidget, void)
}
set_value(get_value());
-
- m_aFocusOutHdl.Call(rWidget);
}
IMPL_LINK(SvtFontSizeBox, ModifyHdl, weld::ComboBox&, rBox, void)