sc/source/ui/view/drawview.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+)
New commits: commit 12877c3ec0bb503dcd0d6d9b9aa83e2a1e5e7ac4 Author: Armin Le Grand <armin.le.gr...@cib.de> AuthorDate: Tue Nov 27 13:53:59 2018 +0100 Commit: Armin Le Grand <armin.le.gr...@cib.de> CommitDate: Thu Nov 29 08:55:54 2018 +0100 No GridOffset support for PDF or Print Change-Id: I40c1128ef2fb8860e883016344138bb84f68c2de Reviewed-on: https://gerrit.libreoffice.org/64112 Tested-by: Jenkins Reviewed-by: Armin Le Grand <armin.le.gr...@cib.de> diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index 28af22f58c34..a19d7ce48c84 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -1181,6 +1181,18 @@ namespace sdr bool ObjectContactOfScDrawView::supportsGridOffsets() const { + // no GridOffset support for printer + if(isOutputToPrinter()) + { + return false; + } + + // no GridOffset support for PDF export + if(isOutputToPDFFile()) + { + return false; + } + // yes - we support it return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits