diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 17:10:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 17:11:31 +0100 |
commit | cbb9efa642ec3a7418136547c04eb2455ba1c821 (patch) | |
tree | ce5b502e77da943f08a0ec7f7dd40684ba791cf3 /svtools/source/control/ruler.cxx | |
parent | 19c4d8d2fbe424aaa54f098bcc6ba8c9aeb1e403 (diff) |
Related: fdo#72142 lighter ruler default color
Change-Id: Iadb8bb134e3ecda974b8a9d8589fdc5ed02907f0
Diffstat (limited to 'svtools/source/control/ruler.cxx')
-rw-r--r-- | svtools/source/control/ruler.cxx | 4 |
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 ) |