diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2016-01-07 15:57:21 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-08 10:33:44 +0100 |
commit | 6b7d41094d06bbb4c248927d02318cf1b5faba0a (patch) | |
tree | 34d1ff3845c4517e7ed0acace5d4864790730cb9 /svx/source/sdr/contact | |
parent | 1f1ddaad5dd401b70ae69fb18f7873d652242154 (diff) |
lool - page border shadow can be disabled
Support for text documents and presentations.
Added a command line option for gtktiledviewer:
--hide-page-shadow.
Reviewed on:
https://gerrit.libreoffice.org/21210
Change-Id: I1e427693d7af40cb5731d1730ac5b7c486d45c29
Diffstat (limited to 'svx/source/sdr/contact')
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx b/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx index fcf2ae153b7e..27f951fb43e1 100644 --- a/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofsdrpage.cxx @@ -266,6 +266,11 @@ bool ViewObjectContactOfPageShadow::isPrimitiveVisible(const DisplayInfo& rDispl return false; } + if(!pSdrPageView->GetView().IsPageShadowVisible()) + { + return false; + } + // no page shadow for preview renderers if(GetObjectContact().IsPreviewRenderer()) { |