From 94ceda8b2fea37587424b664e17fa9ee8b01e158 Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Wed, 22 Jul 2015 11:27:24 +0200 Subject: tdf#92600: Restore ability to apply font settings to controls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SmShowSymbol handles font/fg/bg settings by itself, so make ApplySettings noop there. This partially reverts commit b010e4074e5d5ee3a3905f1351f04efafe937c2a Change-Id: Ib5074684ef1277d9b9b4646bd73dce4cbff3943e Reviewed-on: https://gerrit.libreoffice.org/17288 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- starmath/source/dialog.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'starmath/source') diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 59a08b59d6a5..70e7f295bd90 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1384,6 +1384,10 @@ void SmShowSymbol::Resize() Invalidate(); } +void SmShowSymbol::ApplySettings(vcl::RenderContext& /*rRenderContext*/ ) +{ +} + void SmShowSymbol::setFontSize(vcl::Font &rFont) const { rFont.SetSize(Size(0, GetOutputSize().Height() - GetOutputSize().Height() / 3)); -- cgit