summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/eventmultiplexer.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-05 09:46:12 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-06 06:48:38 +0000
commitf3d9aab8410c00298f29ca0194c5d33d53c63ff2 (patch)
tree370d24d49547d8eb2cdbcb293992d9b9a4a670ed /slideshow/source/inc/eventmultiplexer.hxx
parent654c98064d3fd2bd1e13ae2bda5f84e8d51d0071 (diff)
teach passstuffbyref plugin to check for..
unnecessarily passing primitives by const ref. Suggested by Tor Lillqvist Change-Id: I445e220542969ca3e252581e5953fb01cb2b2be6 Reviewed-on: https://gerrit.libreoffice.org/24672 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow/source/inc/eventmultiplexer.hxx')
-rw-r--r--slideshow/source/inc/eventmultiplexer.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/inc/eventmultiplexer.hxx b/slideshow/source/inc/eventmultiplexer.hxx
index b1a4a0054523..5a34fc08bcd0 100644
--- a/slideshow/source/inc/eventmultiplexer.hxx
+++ b/slideshow/source/inc/eventmultiplexer.hxx
@@ -111,7 +111,7 @@ public:
virtual ~UserPaintEventHandler() {}
virtual bool colorChanged( RGBColor const& rUserColor ) = 0;
virtual bool widthChanged( double nUserStrokeWidth ) = 0;
- virtual bool eraseAllInkChanged(bool const& rEraseAllInk) =0;
+ virtual bool eraseAllInkChanged(bool bEraseAllInk) =0;
virtual bool eraseInkWidthChanged(sal_Int32 rEraseInkSize) =0;
virtual bool switchEraserMode() = 0;
virtual bool switchPenMode() = 0;
@@ -529,7 +529,7 @@ public:
enabled. User paint denotes the feature to draw colored lines
on top of the slide content.
*/
- void notifyEraseAllInk( bool const& rEraseAllInk );
+ void notifyEraseAllInk( bool bEraseAllInk );
void notifySwitchPenMode();
void notifySwitchEraserMode();
void notifyEraseInkWidth( sal_Int32 rEraseInkSize );