summaryrefslogtreecommitdiff
path: root/sw/inc/viscrs.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 15:54:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-03 20:49:15 +0200
commit5176c1dd609939df388d58871dfa7db789e13523 (patch)
tree487fc3e63ca2ab92ff37bbabca32f3841d84408d /sw/inc/viscrs.hxx
parent4dd34cd4b829bdc1679b11f19e957313f11620cd (diff)
loplugin:constparams in sw part1
Change-Id: Id8d8afe268a82585ec2d3699411073dfb905d6ba Reviewed-on: https://gerrit.libreoffice.org/40734 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/viscrs.hxx')
-rw-r--r--sw/inc/viscrs.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index e0d8e7073cb2..716e44289af2 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -56,7 +56,7 @@ public:
bool IsVisible() const { return m_bIsVisible; }
void SetDragCursor( bool bFlag = true ) { m_bIsDragCursor = bFlag; }
- void SetPosAndShow(SfxViewShell* pViewShell);
+ void SetPosAndShow(SfxViewShell const * pViewShell);
};
// From here classes/methods for selections.
@@ -137,7 +137,7 @@ public:
/// @see SwSelPaintRects::FillStartEnd(), override for text selections.
virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) const override;
- void Show(SfxViewShell* pViewShell); // Update and display all selections.
+ void Show(SfxViewShell const * pViewShell); // Update and display all selections.
void Hide(); // Hide all selections.
void Invalidate( const SwRect& rRect );