summaryrefslogtreecommitdiff
path: root/sw/source/core/text/frmcrsr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/frmcrsr.cxx')
-rw-r--r--sw/source/core/text/frmcrsr.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index 303a529e3484..a4cab82d92b1 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -744,11 +744,15 @@ namespace {
class SwSetToRightMargin
{
- bool bRight;
+ bool m_bRight;
+
public:
- SwSetToRightMargin() : bRight( false ) { }
- ~SwSetToRightMargin() { SwTextCursor::SetRightMargin( bRight ); }
- void SetRight( const bool bNew ) { bRight = bNew; }
+ SwSetToRightMargin()
+ : m_bRight(false)
+ {
+ }
+ ~SwSetToRightMargin() { SwTextCursor::SetRightMargin(m_bRight); }
+ void SetRight(const bool bNew) { m_bRight = bNew; }
};
}