diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-09-02 16:05:21 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-09-02 16:42:18 +0400 |
commit | 35e13d1f5403076c752879ecbe17b2f451b188d9 (patch) | |
tree | 4ac06aa67fbc564747b26d86aae68bbf87abc880 /sw/source/core/edit/edws.cxx | |
parent | 3e317451e319734d7e45cc431bd4b68ffe1a08f6 (diff) |
expand ACT_KONTEXT and MV_KONTEXT macros, rename kontext to context
Change-Id: I7783e60cc048dfbd99976881afca317ad1326d66
Diffstat (limited to 'sw/source/core/edit/edws.cxx')
-rw-r--r-- | sw/source/core/edit/edws.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx index 4f267fe087dc..018e275006ba 100644 --- a/sw/source/core/edit/edws.cxx +++ b/sw/source/core/edit/edws.cxx @@ -206,31 +206,27 @@ sal_Bool SwEditShell::HasOtherCnt() const ******************************************************************************/ -SwActKontext::SwActKontext(SwEditShell *pShell) +SwActContext::SwActContext(SwEditShell *pShell) : pSh(pShell) { pSh->StartAction(); } -SwActKontext::~SwActKontext() +SwActContext::~SwActContext() { pSh->EndAction(); } -/****************************************************************************** - * Klasse fuer den automatisierten Aufruf von Start- und - * EndCrsrMove(); - ******************************************************************************/ - -SwMvKontext::SwMvKontext(SwEditShell *pShell ) : pSh(pShell) +SwMvContext::SwMvContext(SwEditShell *pShell) + : pSh(pShell) { pSh->SttCrsrMove(); } -SwMvKontext::~SwMvKontext() +SwMvContext::~SwMvContext() { pSh->EndCrsrMove(); } |