summaryrefslogtreecommitdiff
path: root/sw/source/core/frmedt/fews.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/frmedt/fews.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/frmedt/fews.cxx')
-rw-r--r--sw/source/core/frmedt/fews.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index ee19c4b383b0..8ebb6234f023 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -82,7 +82,7 @@ void SwFEShell::EndAllActionAndCall()
// Determine the Content's nearest to the point
Point SwFEShell::GetContentPos( const Point& rPoint, bool bNext ) const
{
- SET_CURR_SHELL( const_cast<SwFEShell*>(this) );
+ CurrShell aCurr( const_cast<SwFEShell*>(this) );
return GetLayout()->GetNextPrevContentPos( rPoint, bNext );
}
@@ -518,7 +518,7 @@ bool SwFEShell::Sort(const SwSortOptions& rOpt)
if( !HasSelection() )
return false;
- SET_CURR_SHELL( this );
+ CurrShell aCurr( this );
bool bRet = false;
StartAllAction();
if(IsTableMode())