summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-03 08:55:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-03 08:56:01 +0100
commit24a89b277208d8f3fa7987f5fe76a02286bbff25 (patch)
tree706fcecaac450eba86b29ac75ee36973e0f4a37b /sw
parent8acdf876c52240c5f3c6d428162b15d4e89f32a7 (diff)
Improve loplugin:passstuffbyref
Change-Id: I88ab4c51ff59312127681d3087d22b9c79192b94
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/DocumentRedlineManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx
index c192cd3c412d..bc31678cafe5 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -119,7 +119,7 @@ using namespace com::sun::star;
namespace
{
- static inline bool IsPrevPos( const SwPosition rPos1, const SwPosition rPos2 )
+ static inline bool IsPrevPos( const SwPosition & rPos1, const SwPosition & rPos2 )
{
const SwCntntNode* pCNd;
return 0 == rPos2.nContent.GetIndex() &&