diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-02 15:01:52 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-02 15:01:52 +0200 |
commit | 474228f89128487ea7a216580df0a8bc5e06f87e (patch) | |
tree | ae65d4e97c8e37ad54ca38f964f011b1988df337 /sd/source/ui/view/drviews1.cxx | |
parent | b1a9aba3bc33524dcf0dc1c4afc5c1aeeb5ba4d1 (diff) |
sd tiled rendering: default to transparent background outside slide area
Change-Id: Ic9023640c34c3d7efd00e2eb0894ed4d01109d8d
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rw-r--r-- | sd/source/ui/view/drviews1.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx index 78a6bc0c86d3..cf146aef2fd8 100644 --- a/sd/source/ui/view/drviews1.cxx +++ b/sd/source/ui/view/drviews1.cxx @@ -80,6 +80,7 @@ #include "ViewShellHint.hxx" #include <sfx2/request.hxx> +#include <comphelper/lok.hxx> using namespace com::sun::star; @@ -380,6 +381,8 @@ void DrawViewShell::ChangeEditMode(EditMode eEMode, bool bIsLayerModeActive) svtools::ColorConfig aColorConfig; Color aFillColor = Color( aColorConfig.GetColorValue( svtools::APPBACKGROUND ).nColor ); + if (comphelper::LibreOfficeKit::isActive()) + aFillColor = COL_TRANSPARENT; if (meEditMode == EM_PAGE) { |