diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
commit | 7f33ed417b2e29e5470724ea76967f64699a2662 (patch) | |
tree | abfa1432c5ffffe4c7502d4ddcaee918c584c69c /sw/source/core/text/redlnitr.cxx | |
parent | 80731dbfcb48a2ffec30a4b2abe1ba8ada8f0169 (diff) |
removetooltypes01: #i112600# Remove tools types from sw
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 d789121de4b8..2de77f4f9d21 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; |