From cbb9efa642ec3a7418136547c04eb2455ba1c821 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 30 Apr 2014 17:10:43 +0100 Subject: Related: fdo#72142 lighter ruler default color Change-Id: Iadb8bb134e3ecda974b8a9d8589fdc5ed02907f0 --- svtools/source/control/ruler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index cf59983e3d59..4332966babe5 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -1021,7 +1021,7 @@ void Ruler::ImplInitSettings( bool bFont, bool bForeground, bool bBackground ) if ( IsControlBackground() ) aColor = GetControlBackground(); else - aColor = rStyleSettings.GetWorkspaceColor(); + aColor = rStyleSettings.GetDialogColor(); SetBackground( aColor ); } @@ -1185,7 +1185,7 @@ void Ruler::ImplFormat() // draw margin1, margin2 and in-between maVirDev.SetLineColor(); - maVirDev.SetFillColor( rStyleSettings.GetWorkspaceColor() ); + maVirDev.SetFillColor( rStyleSettings.GetDialogColor() ); if ( nM1 > nVirLeft ) ImplVDrawRect( nP1, nVirTop+1, nM1, nVirBottom ); //left gray rectangle if ( nM2 < nP2 ) -- cgit