Blame SOURCES/0169-sw-tiled-rendering-default-to-transparent-background.patch

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