summaryrefslogtreecommitdiff
path: root/svtools/source/control/ruler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/ruler.cxx')
-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 )