diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-14 20:11:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 09:04:30 +0200 |
commit | c77e30cbc0e7fb56593dac345291fd33998fbaf0 (patch) | |
tree | 2f8c5114f5176ea38ca2623b39734fbaf2784b99 /sw | |
parent | d72f68e91b595d1a8120f39b80483c3f06838099 (diff) |
replace ".get->" with "->"
Change-Id: I327a6fda1fe0170da33e06b735f09a39421c8a58
Reviewed-on: https://gerrit.libreoffice.org/77469
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/app/swdll.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/navmgr.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index 09ca19e52dec..b62490995652 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -412,7 +412,7 @@ void ContentIdxStoreImpl::SaveUnoCursors(SwDoc* pDoc, sal_uLong nNode, sal_Int32 auto pUnoCursor(pWeakUnoCursor.lock()); if(!pUnoCursor) continue; - for(SwPaM& rPaM : pUnoCursor.get()->GetRingContainer()) + for(SwPaM& rPaM : pUnoCursor->GetRingContainer()) { lcl_ChkUnoCrsrPaMBoth(m_aUnoCursorEntries, nNode, nContent, rPaM); } diff --git a/sw/source/uibase/app/swdll.cxx b/sw/source/uibase/app/swdll.cxx index 3605ac4f5f57..51724d83e16e 100644 --- a/sw/source/uibase/app/swdll.cxx +++ b/sw/source/uibase/app/swdll.cxx @@ -73,7 +73,7 @@ namespace SwGlobals sw::Filters & getFilters() { - return theSwDLLInstance::get().get()->getFilters(); + return theSwDLLInstance::get()->getFilters(); } } diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 9e0fc941984a..a763e2c56ead 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -751,7 +751,7 @@ void SwPostItMgr::LayoutPostIts() if (mpAnswer) { if (static_cast<bool>(pPostIt->CalcParent())) //do we really have another note in front of this one - pPostIt.get()->InitAnswer(mpAnswer); + pPostIt->InitAnswer(mpAnswer); delete mpAnswer; mpAnswer = nullptr; } @@ -1546,7 +1546,7 @@ void SwPostItMgr::Delete(sal_uInt32 nPostItId) { mpWrtShell->StartAllAction(); if (HasActiveSidebarWin() && - mpActivePostIt.get()->GetPostItField()->GetPostItId() == nPostItId) + mpActivePostIt->GetPostItField()->GetPostItId() == nPostItId) { SetActiveSidebarWin(nullptr); } diff --git a/sw/source/uibase/wrtsh/navmgr.cxx b/sw/source/uibase/wrtsh/navmgr.cxx index 5222c6cc1841..c43992662914 100644 --- a/sw/source/uibase/wrtsh/navmgr.cxx +++ b/sw/source/uibase/wrtsh/navmgr.cxx @@ -65,7 +65,7 @@ void SwNavigationMgr::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) if (typeid(rHint) == typeid(sw::UnoCursorHint)) { auto it = std::find_if(m_entries.begin(), m_entries.end(), - [&rBC](const sw::UnoCursorPointer& rItem) { return !rItem || &rBC == &rItem.get()->m_aNotifier; }); + [&rBC](const sw::UnoCursorPointer& rItem) { return !rItem || &rBC == &rItem->m_aNotifier; }); if (it != m_entries.end()) { EndListening(rBC); |