diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-27 13:02:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-02 08:51:01 +0100 |
commit | 645bebd9f6090b1c617bd95ea990a7dac4afaabc (patch) | |
tree | 362944e8a92ee41392a4cb26607600c02d3c5baf /sw/inc/viscrs.hxx | |
parent | ee8ee08b4dfc698fa4e21ea28ff961e4c67cb160 (diff) |
SwSelPaintRects::FillStartEnd(): missing const
Change-Id: I644535d94894e51bc134ba8394238d3044eab488
Diffstat (limited to 'sw/inc/viscrs.hxx')
-rw-r--r-- | sw/inc/viscrs.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index 7de57a2b23ef..db3a964edd88 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -90,7 +90,7 @@ public: virtual void FillRects() = 0; /// Fill rStart and rEnd with a rectangle that represents the start and end for selection handles. - virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) = 0; + virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) const = 0; // #i75172# in SwCrsrShell::CreateCrsr() the content of SwSelPaintRects is exchanged. To // make a complete swap access to mpCursorOverlay is needed there @@ -129,7 +129,7 @@ public: virtual void FillRects() SAL_OVERRIDE; // For Table- und normal cursors. /// @see SwSelPaintRects::FillStartEnd(), override for text selections. - virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) SAL_OVERRIDE; + virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) const SAL_OVERRIDE; void Show(); // Update and display all selections. void Hide(); // Hide all selections. @@ -180,7 +180,7 @@ public: virtual void FillRects() SAL_OVERRIDE; // For table and normal cursor. /// @see SwSelPaintRects::FillStartEnd(), override for table selections. - virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) SAL_OVERRIDE; + virtual void FillStartEnd(SwRect& rStart, SwRect& rEnd) const SAL_OVERRIDE; // Check if SPoint is within table SSelection. bool IsInside( const Point& rPt ) const; |