sd/source/ui/view/drviews4.cxx | 3 +++ sd/source/ui/view/drviewsa.cxx | 3 +++ 2 files changed, 6 insertions(+)
New commits: commit ebbef33046b2f0b2a68a4f3b798e0cdf05b51c8a Author: Jan Holesovsky <ke...@collabora.com> Date: Thu Jan 14 23:29:23 2016 +0100 sd lok: More places where we need to force the transparent color for bg. Change-Id: Ic6e0ed45b118b27a86f8657671ae877ce494c5d4 diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 548dbf4..9fb7833 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include "DrawViewShell.hxx" +#include <comphelper/lok.hxx> #include <vcl/msgbox.hxx> #include <svl/urlbmk.hxx> #include <svx/svdpagv.hxx> @@ -345,6 +346,8 @@ void DrawViewShell::MouseMove(const MouseEvent& rMEvt, ::sd::Window* pWin) Color aFillColor; aFillColor = Color( aColorConfig.GetColorValue( svtools::APPBACKGROUND ).nColor ); + if (comphelper::LibreOfficeKit::isActive()) + aFillColor = COL_TRANSPARENT; mpDrawView->SetApplicationBackgroundColor(aFillColor); } diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index df28598..bf08496 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -20,6 +20,7 @@ #include "DrawViewShell.hxx" #include <com/sun/star/scanner/ScannerManager.hpp> #include <cppuhelper/implbase1.hxx> +#include <comphelper/lok.hxx> #include <comphelper/processfactory.hxx> #include <editeng/sizeitem.hxx> #include <svx/svdlayer.hxx> @@ -210,6 +211,8 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind) svtools::ColorConfig aColorConfig; mnAppBackgroundColor = Color( aColorConfig.GetColorValue( svtools::APPBACKGROUND ).nColor ); + if (comphelper::LibreOfficeKit::isActive()) + mnAppBackgroundColor = COL_TRANSPARENT; mpFrameView->Connect(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits