summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/unocrsr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx
index 9ef520433dbf..d789bed5db39 100644
--- a/sw/inc/unocrsr.hxx
+++ b/sw/inc/unocrsr.hxx
@@ -111,7 +111,7 @@ namespace sw
UnoCursorPointer()
: m_pCursor(nullptr)
{}
- UnoCursorPointer(std::shared_ptr<SwUnoCursor> pCursor)
+ UnoCursorPointer(std::shared_ptr<SwUnoCursor> const & pCursor)
: m_pCursor(pCursor)
{
StartListening(m_pCursor->m_aNotifier);