diff options
-rw-r--r-- | sc/source/core/data/patattr.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx index 34cfa1c52175..2de19a4d952b 100644 --- a/sc/source/core/data/patattr.cxx +++ b/sc/source/core/data/patattr.cxx @@ -509,7 +509,8 @@ void ScPatternAttr::fillColor(model::ComplexColor& rComplexColor, const SfxItemS if (pViewShell) { const ScViewRenderingOptions& rViewRenderingOptions = pViewShell->GetViewRenderingData(); - aBackColor = rViewRenderingOptions.GetDocColor(); + aBackColor = eAutoMode == SC_AUTOCOL_PRINT ? COL_WHITE : + rViewRenderingOptions.GetDocColor(); } } } |