Kaydet (Commit) 04ee8ea4 authored tarafından Matteo Casalin's avatar Matteo Casalin

Remove unneeded local scope

Change-Id: I51fe6e130006fdca547abe99a44117f710d1e776
üst c49faa14
......@@ -192,9 +192,7 @@ void SwFldPortion::CheckScript( const SwTxtSizeInfo &rInf )
if( GetExpTxt( rInf, aTxt ) && !aTxt.isEmpty() && g_pBreakIt->GetBreakIter().is() )
{
sal_uInt8 nActual = pFnt ? pFnt->GetActual() : rInf.GetFont()->GetActual();
sal_uInt16 nScript;
{
nScript = g_pBreakIt->GetBreakIter()->getScriptType( aTxt, 0 );
sal_uInt16 nScript = g_pBreakIt->GetBreakIter()->getScriptType( aTxt, 0 );
sal_Int32 nChg = 0;
if( i18n::ScriptType::WEAK == nScript )
{
......@@ -210,7 +208,6 @@ void SwFldPortion::CheckScript( const SwTxtSizeInfo &rInf )
else
nNextScriptChg = aTxt.getLength();
}
sal_uInt8 nTmp;
switch ( nScript ) {
case i18n::ScriptType::LATIN : nTmp = SW_LATIN; break;
......
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