summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/tools/PreviewRenderer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-04 15:34:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-05 07:15:04 +0000
commitb8c528a3515616bf0ec852c2f7b1bb07dc9f7ed2 (patch)
tree4ea7dac8d26da2645ef871d149d7c7f31191ca06 /sd/source/ui/tools/PreviewRenderer.cxx
parenttdf#98837 - Fail loading a new document with read only property set to true (diff)
downloadcore-b8c528a3515616bf0ec852c2f7b1bb07dc9f7ed2.tar.gz
core-b8c528a3515616bf0ec852c2f7b1bb07dc9f7ed2.zip
loplugin:constantparam in sd
Change-Id: Ife610abb1f8ed19ab219301d41d7fc2174ff1d29 Reviewed-on: https://gerrit.libreoffice.org/23830 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/tools/PreviewRenderer.cxx')
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index 5c6af241911f..bfa61b6f53ad 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -92,9 +92,7 @@ PreviewRenderer::~PreviewRenderer()
Image PreviewRenderer::RenderPage (
const SdPage* pPage,
const sal_Int32 nWidth,
- const OUString& rSubstitutionText,
- const bool bObeyHighContrastMode,
- const bool bDisplayPresentationObjects)
+ const OUString& rSubstitutionText)
{
if (pPage != nullptr)
{
@@ -108,8 +106,7 @@ Image PreviewRenderer::RenderPage (
pPage,
Size(nWidth,nHeight),
rSubstitutionText,
- bObeyHighContrastMode,
- bDisplayPresentationObjects);
+ false/*bObeyHighContrastMode*/);
}
else
return Image();