diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-05 08:24:32 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-05 11:30:13 +0000 |
commit | a7ec6c29aaed1ed7dd8713a9b8698d12181c40a3 (patch) | |
tree | cb7e36caf97f4f63a1a5448cb3cf877740053841 /chart2/source/controller/drawinglayer | |
parent | 9866efe3e5a670bab54d931be31e1989aeb382a7 (diff) |
loplugin:constantparam in chart2
Change-Id: I9adcf4516107aaa960463be13090c2ac15685e09
Reviewed-on: https://gerrit.libreoffice.org/23833
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/controller/drawinglayer')
-rw-r--r-- | chart2/source/controller/drawinglayer/DrawViewWrapper.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx index 1cac58176341..75a1b07481ed 100644 --- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx +++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx @@ -96,7 +96,7 @@ OutputDevice * lcl_GetParentRefDevice( const uno::Reference< frame::XModel > & x } -DrawViewWrapper::DrawViewWrapper( SdrModel* pSdrModel, OutputDevice* pOut, bool bPaintPageForEditMode) +DrawViewWrapper::DrawViewWrapper( SdrModel* pSdrModel, OutputDevice* pOut) : E3dView(pSdrModel, pOut) , m_pMarkHandleProvider(nullptr) , m_apOutliner(SdrMakeOutliner(OUTLINERMODE_TEXTOBJECT, *pSdrModel)) @@ -104,8 +104,7 @@ DrawViewWrapper::DrawViewWrapper( SdrModel* pSdrModel, OutputDevice* pOut, bool { SetBufferedOutputAllowed(true); SetBufferedOverlayAllowed(true); - - SetPagePaintingAllowed(bPaintPageForEditMode); + SetPagePaintingAllowed(true); // #i12587# support for shapes in chart SdrOutliner* pOutliner = getOutliner(); |