diff options
author | Mathias Bauer <mba@openoffice.org> | 2011-02-09 09:49:44 +0100 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2011-02-09 09:49:44 +0100 |
commit | 53b8f0865ff2e59cb71eaf4c1bdbc829238fde6f (patch) | |
tree | 31528d76013d09428fad98a3dbc6265345dbbeb9 /sw/source/core/text/redlnitr.cxx | |
parent | e22a1e2f5c5ed74c22849c9b5bb59dd8f47bffbc (diff) | |
parent | 9730661364792059168a06bfbaacf47fc8daf53c (diff) |
CWS swlayoutrefactoring: resync to m100
Diffstat (limited to 'sw/source/core/text/redlnitr.cxx')
-rw-r--r-- | sw/source/core/text/redlnitr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx index 71db30b53b60..cf364b5e2e1d 100644 --- a/sw/source/core/text/redlnitr.cxx +++ b/sw/source/core/text/redlnitr.cxx @@ -112,13 +112,13 @@ void SwAttrIter::CtorInitAttrIter( SwTxtNode& rTxtNode, SwScriptInfo& rScrInf, S pFnt->SetActual( SwScriptInfo::WhichFont( 0, 0, pScriptInfo ) ); xub_StrLen nChg = 0; - USHORT nCnt = 0; + sal_uInt16 nCnt = 0; do { nChg = pScriptInfo->GetScriptChg( nCnt ); - USHORT nScript = pScriptInfo->GetScriptType( nCnt++ ); - BYTE nTmp = 4; + sal_uInt16 nScript = pScriptInfo->GetScriptType( nCnt++ ); + sal_uInt8 nTmp = 4; switch ( nScript ) { case i18n::ScriptType::ASIAN : if( !aMagicNo[SW_CJK] ) nTmp = SW_CJK; break; |