summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/applab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/applab.cxx')
-rw-r--r--sw/source/uibase/app/applab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/applab.cxx b/sw/source/uibase/app/applab.cxx
index c562f3450f1d..77534197e1e6 100644
--- a/sw/source/uibase/app/applab.cxx
+++ b/sw/source/uibase/app/applab.cxx
@@ -210,7 +210,7 @@ void SwModule::InsertLab(SfxRequest& rReq, bool bLabel)
SwWait aWait( static_cast<SwDocShell&>(*xDocSh), true );
- SET_CURR_SHELL(pSh);
+ CurrShell aCurr(pSh);
pSh->SetLabelDoc(rItem.m_bSynchron);
pSh->DoUndo( false );
pSh->StartAllAction();