diff options
Diffstat (limited to 'sd/source/ui/view/drviews5.cxx')
-rw-r--r-- | sd/source/ui/view/drviews5.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx index 6ae7a0a5a3c5..2df7ffc396bc 100644 --- a/sd/source/ui/view/drviews5.cxx +++ b/sd/source/ui/view/drviews5.cxx @@ -435,14 +435,7 @@ void DrawViewShell::Paint(const Rectangle& rRect, ::sd::Window* pWin) svtools::ColorConfig aColorConfig; Color aFillColor; - if(DOCUMENT_TYPE_IMPRESS == GetDoc()->GetDocumentType()) - { - aFillColor = Color( aColorConfig.GetColorValue( svtools::APPBACKGROUND ).nColor ); - } - else - { - aFillColor = Color( aColorConfig.GetColorValue( svtools::DOCCOLOR ).nColor ); - } + aFillColor = Color( aColorConfig.GetColorValue( svtools::APPBACKGROUND ).nColor ); /* This is done before each text edit, so why not do it before every paint. The default language is only used if the outliner only contains one |