diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 15:54:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 20:49:15 +0200 |
commit | 5176c1dd609939df388d58871dfa7db789e13523 (patch) | |
tree | 487fc3e63ca2ab92ff37bbabca32f3841d84408d /sw/inc/viewopt.hxx | |
parent | 4dd34cd4b829bdc1679b11f19e957313f11620cd (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/viewopt.hxx')
-rw-r--r-- | sw/inc/viewopt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index 1bb138a889f5..eb020b478787 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -305,7 +305,7 @@ public: void SetSnap( bool b ) { b ? (m_nCoreOptions |= ViewOptFlags1::Snap ) : ( m_nCoreOptions &= ~ViewOptFlags1::Snap); } - void SetSnapSize( Size &rSz ){ m_aSnapSize = rSz; } + void SetSnapSize( Size const &rSz ){ m_aSnapSize = rSz; } const Size &GetSnapSize() const { return m_aSnapSize; } bool IsGridVisible() const |