From 6b9ab42904f9e37935834528bf360a2a6e3da70b Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmiklos@collabora.co.uk>
Date: Thu, 1 Oct 2015 16:43:00 +0200
Subject: [PATCH 169/398] sw tiled rendering: default to transparent background
outside page frames
Change-Id: Ie018a878eb7d7ef14a80a6b86020c114ff14da88
(cherry picked from commit 4fe010cce872ef035fec376298e416f9799c4a21)
---
sw/source/uibase/config/viewopt.cxx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 190a6e3b5d72..7597589f0657 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -38,6 +38,7 @@
#include <unotools/syslocale.hxx>
#include <editeng/acorrcfg.hxx>
+#include <comphelper/lok.hxx>
#ifdef DBG_UTIL
bool SwViewOption::s_bTest9 = false; //DrawingLayerNotLoading
@@ -206,6 +207,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)
--
2.12.0