diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-31 16:37:55 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-01 09:05:46 +0000 |
commit | b8ee524330d924456931ad602eb4701b55a2aa85 (patch) | |
tree | d5bcc6cfeed82d8aecf75efb256916eed2271304 /include/svx/svdpagv.hxx | |
parent | 26c149617c54e29902a77d2f95ca7c64af13b52f (diff) |
loplugin:countusersofdefaultparams
Change-Id: Ifc9cdbda77048791203e89350c2efa9a6c34c4a5
Reviewed-on: https://gerrit.libreoffice.org/28555
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/svdpagv.hxx')
-rw-r--r-- | include/svx/svdpagv.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx index f5b982117886..e410b4396e6d 100644 --- a/include/svx/svdpagv.hxx +++ b/include/svx/svdpagv.hxx @@ -162,12 +162,12 @@ public: void PrePaint(); /// @param rReg refers to the OutDev and not to the Page - void CompleteRedraw( SdrPaintWindow& rPaintWindow, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr ); + void CompleteRedraw( SdrPaintWindow& rPaintWindow, const vcl::Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector ); /// Write access to mpPreparedPageWindow void setPreparedPageWindow(SdrPageWindow* pKnownTarget); - void DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget = nullptr, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr, + void DrawLayer(SdrLayerID nID, OutputDevice* pGivenTarget, sdr::contact::ViewObjectContactRedirector* pRedirector = nullptr, const Rectangle& rRect = Rectangle()); void DrawPageViewGrid(OutputDevice& rOut, const Rectangle& rRect, Color aColor = Color( COL_BLACK ) ); @@ -191,17 +191,17 @@ public: Rectangle& MarkBound() { return aMarkBound; } Rectangle& MarkSnap() { return aMarkSnap; } - void SetLayerVisible(const OUString& rName, bool bShow = true) { + void SetLayerVisible(const OUString& rName, bool bShow) { SetLayer(rName, aLayerVisi, bShow); if(!bShow) AdjHdl(); InvalidateAllWin(); } bool IsLayerVisible(const OUString& rName) const { return IsLayer(rName, aLayerVisi); } - void SetLayerLocked(const OUString& rName, bool bLock = true) { SetLayer(rName, aLayerLock, bLock); if(bLock) AdjHdl(); } + void SetLayerLocked(const OUString& rName, bool bLock) { SetLayer(rName, aLayerLock, bLock); if(bLock) AdjHdl(); } bool IsLayerLocked(const OUString& rName) const { return IsLayer(rName,aLayerLock); } - void SetLayerPrintable(const OUString& rName, bool bPrn = true) { SetLayer(rName, aLayerPrn, bPrn); } + void SetLayerPrintable(const OUString& rName, bool bPrn) { SetLayer(rName, aLayerPrn, bPrn); } bool IsLayerPrintable(const OUString& rName) const { return IsLayer(rName, aLayerPrn); } /// PV represents a RefPage or a SubList of a RefObj, or the Model is ReadOnly |