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

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