summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-05-30 09:13:39 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-05-30 17:35:25 +0000
commitaab59c3c17ce16882864fe41056ad6c1c850c953 (patch)
tree1b910536ca3c98151da45e0a52c760065eb5dd3e
parent2805adb0d3cf68d7def01a93bf07fb2e8121ec10 (diff)
sw: prefix members of SwLayoutModeModifier
Change-Id: I280a79f5060623c8a30ecfde99cf650ebde4e5fd Reviewed-on: https://gerrit.libreoffice.org/25653 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--sw/source/core/inc/txtfrm.hxx4
-rw-r--r--sw/source/core/text/txtfrm.cxx10
2 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index bd32500c708e..567bd19dd1e9 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -793,8 +793,8 @@ public:
class SwLayoutModeModifier
{
- const OutputDevice& rOut;
- ComplexTextLayoutMode nOldLayoutMode;
+ const OutputDevice& m_rOut;
+ ComplexTextLayoutMode m_nOldLayoutMode;
public:
SwLayoutModeModifier( const OutputDevice& rOutp );
~SwLayoutModeModifier();
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 1250d4bcedf5..12007210ccc5 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -288,26 +288,26 @@ void SwTextFrame::SwitchLTRtoRTL( Point& rPoint ) const
}
SwLayoutModeModifier::SwLayoutModeModifier( const OutputDevice& rOutp ) :
- rOut( rOutp ), nOldLayoutMode( rOutp.GetLayoutMode() )
+ m_rOut( rOutp ), m_nOldLayoutMode( rOutp.GetLayoutMode() )
{
}
SwLayoutModeModifier::~SwLayoutModeModifier()
{
- const_cast<OutputDevice&>(rOut).SetLayoutMode( nOldLayoutMode );
+ const_cast<OutputDevice&>(m_rOut).SetLayoutMode( m_nOldLayoutMode );
}
void SwLayoutModeModifier::Modify( bool bChgToRTL )
{
- const_cast<OutputDevice&>(rOut).SetLayoutMode( bChgToRTL ?
+ const_cast<OutputDevice&>(m_rOut).SetLayoutMode( bChgToRTL ?
TEXT_LAYOUT_BIDI_STRONG | TEXT_LAYOUT_BIDI_RTL :
TEXT_LAYOUT_BIDI_STRONG );
}
void SwLayoutModeModifier::SetAuto()
{
- const ComplexTextLayoutMode nNewLayoutMode = nOldLayoutMode & ~TEXT_LAYOUT_BIDI_STRONG;
- const_cast<OutputDevice&>(rOut).SetLayoutMode( nNewLayoutMode );
+ const ComplexTextLayoutMode nNewLayoutMode = m_nOldLayoutMode & ~TEXT_LAYOUT_BIDI_STRONG;
+ const_cast<OutputDevice&>(m_rOut).SetLayoutMode( nNewLayoutMode );
}
SwDigitModeModifier::SwDigitModeModifier( const OutputDevice& rOutp, LanguageType eCurLang ) :