Kaydet (Commit) 6c59177b authored tarafından Michael Stahl's avatar Michael Stahl

rename misleading SwScanner::rConversionMap

Change-Id: I6f93eae5377c95ec47348b01b3414855b05a525e
üst e89caa7d
......@@ -38,7 +38,7 @@ class SwScanner
const OUString aPreDashReplacementText;
OUString aText;
const LanguageType* pLanguage;
const ModelToViewHelper rConversionMap;
const ModelToViewHelper m_ModelToView;
sal_Int32 nStartPos;
sal_Int32 nEndPos;
sal_Int32 nBegin;
......
......@@ -705,7 +705,7 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
: rNode( rNd )
, aPreDashReplacementText(rTxt)
, pLanguage( pLang )
, rConversionMap( rConvMap )
, m_ModelToView( rConvMap )
, nLen( 0 )
, nOverriddenDashCount( 0 )
, nWordType( nType )
......@@ -746,7 +746,8 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
}
else
{
ModelToViewHelper::ModelPosition aModelBeginPos = rConversionMap.ConvertToModelPosition( nBegin );
ModelToViewHelper::ModelPosition aModelBeginPos =
m_ModelToView.ConvertToModelPosition( nBegin );
aCurrLang = rNd.GetLang( aModelBeginPos.mnPos );
}
}
......@@ -807,7 +808,8 @@ sal_Bool SwScanner::NextWord()
if ( !pLanguage )
{
const sal_uInt16 nNextScriptType = g_pBreakIt->GetBreakIter()->getScriptType( aText, nBegin );
ModelToViewHelper::ModelPosition aModelBeginPos = rConversionMap.ConvertToModelPosition( nBegin );
ModelToViewHelper::ModelPosition aModelBeginPos =
m_ModelToView.ConvertToModelPosition( nBegin );
aCurrLang = rNode.GetLang( aModelBeginPos.mnPos, 1, nNextScriptType );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment