summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-01 16:43:00 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-01 16:45:24 +0200
commit4fe010cce872ef035fec376298e416f9799c4a21 (patch)
tree714c6d90ca6af9b4e0f9f8931efe9b4f8d27a523 /sw
parent1d3b613318654ceb2d34996ef8ca653cfe32a8ea (diff)
sw tiled rendering: default to transparent background outside page frames
Change-Id: Ie018a878eb7d7ef14a80a6b86020c114ff14da88
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/config/viewopt.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 6f29c45eb8cc..d30967177661 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -39,6 +39,7 @@
#include <unotools/syslocale.hxx>
#include <editeng/acorrcfg.hxx>
+#include <comphelper/lok.hxx>
#ifdef DBG_UTIL
bool SwViewOption::s_bTest9 = false; //DrawingLayerNotLoading
@@ -209,6 +210,8 @@ SwViewOption::SwViewOption() :
m_bTest1 = m_bTest2 = m_bTest3 = m_bTest4 =
m_bTest5 = m_bTest6 = m_bTest7 = m_bTest8 = m_bTest10 = false;
#endif
+ if (comphelper::LibreOfficeKit::isActive())
+ aAppBackgroundColor = COL_TRANSPARENT;
}
SwViewOption::SwViewOption(const SwViewOption& rVOpt)