From 35e13d1f5403076c752879ecbe17b2f451b188d9 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Sun, 2 Sep 2012 16:05:21 +0400 Subject: expand ACT_KONTEXT and MV_KONTEXT macros, rename kontext to context Change-Id: I7783e60cc048dfbd99976881afca317ad1326d66 --- sw/inc/editsh.hxx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'sw/inc') 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 -- cgit