starmath/source/edit.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 4b0b65f7605f1291fedc77ac850afed8e39dfcd8
Author:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
AuthorDate: Wed Nov 20 17:13:41 2024 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Wed Nov 20 20:14:49 2024 +0100

    starmath: Use field color for SmEditTextWindow background
    
    With same reasoning as
    
    commit 8bb38e1b3f1ba1d9c563598d161230fdf27e4685
    Author: Michael Weghorn <m.wegh...@posteo.de>
    Date:   Mon Oct 14 12:22:32 2024 +0200
    
        tdf#163397 svx: Use field color for WeldEditView bg
    
    Change-Id: Iac0c6b934946b6755ce53ac312c1e637678f966d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176856
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>
    Tested-by: Jenkins

diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 6acb44792dac..384f052ff000 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -100,8 +100,7 @@ void SmEditTextWindow::SetDrawingArea(weld::DrawingArea* 
pDrawingArea)
 {
     weld::CustomWidgetController::SetDrawingArea(pDrawingArea);
 
-    const StyleSettings& rStyleSettings = 
Application::GetSettings().GetStyleSettings();
-    Color aBgColor = rStyleSettings.GetWindowColor();
+    Color aBgColor = 
Application::GetSettings().GetStyleSettings().GetFieldColor();
 
     OutputDevice& rDevice = pDrawingArea->get_ref_device();
     rDevice.SetBackground(aBgColor);

Reply via email to