summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edlingu.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-06-15 17:02:05 +0200
committerMiklos Vajna <vmiklos@collabora.com>2020-06-16 09:03:16 +0200
commit18ab61cd404518c1fde1464429f08cc8d12d6f85 (patch)
tree5fb170c06e009e3be447b0c786588fa0cc7d3b27 /sw/source/core/edit/edlingu.cxx
parent35bb0594b2d977312ef06fc5262cc7592bc13d0f (diff)
sw: remove useless SET_CURR_SHELL macro
Perhaps it did something useful in the past, but it's better to expand it in its current form. Change-Id: I404e8d274f15a178f519d42a1ecd993c1e530f91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96384 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/core/edit/edlingu.cxx')
-rw-r--r--sw/source/core/edit/edlingu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx
index 15e8532f0ee3..99b36c1855c2 100644
--- a/sw/source/core/edit/edlingu.cxx
+++ b/sw/source/core/edit/edlingu.cxx
@@ -203,7 +203,7 @@ void SwLinguIter::Start_( SwEditShell *pShell, SwDocPositions eStart,
pSh = pShell;
- SET_CURR_SHELL( pSh );
+ CurrShell aCurr( pSh );
OSL_ENSURE(!m_pEnd, "SwLinguIter::Start_ without End?");