diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-15 09:05:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-15 09:06:25 +0200 |
commit | a8139ccef665f6a6c8a01b06e83b83ba0cc2e058 (patch) | |
tree | efe699a9f804a540d81e160030220e30ed60c979 /sw/source/core/inc/txtfrm.hxx | |
parent | 7c9a484249da249dea7129ca93f5d1cbf5fbe462 (diff) |
sw: SWAP_IF_ -> SwSwapIf
It's a class, not a macro anymore.
Change-Id: Ia8414d430b2889c834457d8bfd2aa338f2ed994a
Diffstat (limited to 'sw/source/core/inc/txtfrm.hxx')
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index cc9e9d5871b9..3d4fa5a253ea 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -763,15 +763,15 @@ private: bool undo_; }; -class SWAP_IF_SWAPPED: private TemporarySwap { +class SwSwapIfSwapped: private TemporarySwap { public: - explicit SWAP_IF_SWAPPED(SwTextFrm * frame): + explicit SwSwapIfSwapped(SwTextFrm* frame): TemporarySwap(frame, frame->IsSwapped()) {} }; -class SWAP_IF_NOT_SWAPPED: private TemporarySwap { +class SwSwapIfNotSwapped: private TemporarySwap { public: - explicit SWAP_IF_NOT_SWAPPED(SwTextFrm * frame): + explicit SwSwapIfNotSwapped(SwTextFrm* frame): TemporarySwap(frame, !frame->IsSwapped()) {} }; |