vcl/source/control/ctrl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit ad4b699980e0d02e535ec14fab3135453ab48d4e Author: Mike Kaganski <mike.kagan...@collabora.com> Date: Mon Feb 12 11:14:09 2018 +0100 One less ctor/dtor Change-Id: I73cab951942f16b937e95a6617ed60ee24b6c3b3 Reviewed-on: https://gerrit.libreoffice.org/49583 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx index 7cc4cff385bf..a1307ae5f045 100644 --- a/vcl/source/control/ctrl.cxx +++ b/vcl/source/control/ctrl.cxx @@ -404,8 +404,7 @@ void Control::ApplySettings(vcl::RenderContext& rRenderContext) { const StyleSettings& rStyleSettings = rRenderContext.GetSettings().GetStyleSettings(); - vcl::Font rFont(GetCanonicalFont(rStyleSettings)); - ApplyControlFont(rRenderContext, rFont); + ApplyControlFont(rRenderContext, GetCanonicalFont(rStyleSettings)); ApplyControlForeground(rRenderContext, GetCanonicalTextColor(rStyleSettings)); rRenderContext.SetTextFillColor(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits