diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-22 16:42:23 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-05-26 00:51:11 +0200 |
commit | 50356872b9421303b9c7b4a3135b3cdcc3a0af50 (patch) | |
tree | e87d19df1c26853d567516f37f08344f287fbe72 /sw/source/core/unocore/unoftn.cxx | |
parent | 96898cd49830333d752b9aa56fe91a8e21c9dca8 (diff) |
new unocrsrs for SwXTextCursor
Change-Id: I5932f75ee4814ca42f16d349094c7fa8bbb2ee63
Diffstat (limited to 'sw/source/core/unocore/unoftn.cxx')
-rw-r--r-- | sw/source/core/unocore/unoftn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx index c2915233210c..e83b81c9d5f1 100644 --- a/sw/source/core/unocore/unoftn.cxx +++ b/sw/source/core/unocore/unoftn.cxx @@ -431,7 +431,7 @@ SwXFootnote::createTextCursor() throw (uno::RuntimeException, std::exception) SwPosition aPos( *pTextFootnote->GetStartNode() ); SwXTextCursor *const pXCursor = new SwXTextCursor(*GetDoc(), this, CURSOR_FOOTNOTE, aPos); - SwUnoCrsr *const pUnoCrsr = pXCursor->GetCursor(); + auto pUnoCrsr(pXCursor->GetCursor()); pUnoCrsr->Move(fnMoveForward, fnGoNode); const uno::Reference< text::XTextCursor > xRet = static_cast<text::XWordCursor*>(pXCursor); |