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/inc | |
parent | 3e317451e319734d7e45cc431bd4b68ffe1a08f6 (diff) |
expand ACT_KONTEXT and MV_KONTEXT macros, rename kontext to context
Change-Id: I7783e60cc048dfbd99976881afca317ad1326d66
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/editsh.hxx | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 012290069612..58d8befd6231 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -968,26 +968,21 @@ inline const sfx2::LinkManager& SwEditShell::GetLinkManager() const { return ((SwEditShell*)this)->GetLinkManager(); } /// Class for automated call of Start- and EndAction(). -class SwActKontext { +class SwActContext { SwEditShell *pSh; public: - SwActKontext(SwEditShell *pShell); - ~SwActKontext(); + SwActContext(SwEditShell *pShell); + ~SwActContext(); }; -#define ACT_KONTEXT(x) SwActKontext _aActKontext_(x) - /// Class for automated call of Start- and EndCrsrMove(). -class SwMvKontext { +class SwMvContext { SwEditShell *pSh; public: - SwMvKontext(SwEditShell *pShell ); - ~SwMvKontext(); + SwMvContext(SwEditShell *pShell); + ~SwMvContext(); }; -#define MV_KONTEXT(x) SwMvKontext _aMvKontext_(x) - - #endif |