summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-30 17:10:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-30 17:11:31 +0100
commitcbb9efa642ec3a7418136547c04eb2455ba1c821 (patch)
treece5b502e77da943f08a0ec7f7dd40684ba791cf3 /svtools
parent19c4d8d2fbe424aaa54f098bcc6ba8c9aeb1e403 (diff)
Related: fdo#72142 lighter ruler default color
Change-Id: Iadb8bb134e3ecda974b8a9d8589fdc5ed02907f0
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ruler.cxx4
1 files changed, 2 insertions, 2 deletions
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 )