[Libreoffice-commits] core.git: sw/source
Chr. Rossmanith
ChrRossmanith at gmx.de
Mon Apr 8 02:14:56 PDT 2013
sw/source/core/text/pormulti.cxx | 16 ----------------
1 file changed, 16 deletions(-)
New commits:
commit 407985323fe209ed8636567190a790a6cf605122
Author: Chr. Rossmanith <ChrRossmanith at gmx.de>
Date: Sun Apr 7 21:28:31 2013 +0200
delete commented code
Change-Id: Ia144e7b6e567d39816a4baa68187c157f7d8776e
Reviewed-on: https://gerrit.libreoffice.org/3267
Reviewed-by: Miklos Vajna <vmiklos at suse.cz>
Tested-by: Miklos Vajna <vmiklos at suse.cz>
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 18951c5..a375f34f 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -888,22 +888,6 @@ SwMultiCreator* SwTxtSizeInfo::GetMultiCreator( xub_StrLen &rPos,
if ( CH_TXTATR_BREAKWORD == GetChar( rPos ) )
{
bFldBidi = true;
-/*
- // examining the script of the field text should be sufficient
- // for 99% of all cases
- XubString aTxt = GetTxtFrm()->GetTxtNode()->GetExpandTxt( rPos, 1 );
-
- if ( pBreakIt->GetBreakIter().is() && aTxt.Len() )
- {
- bool bFldDir = ( i18n::ScriptType::COMPLEX ==
- pBreakIt->GetRealScriptOfText( aTxt, 0 ) );
- bool bCurrDir = ( 0 != ( nCurrLevel % 2 ) );
- if ( bFldDir != bCurrDir )
- {
- nNextLevel = nCurrLevel + 1;
- bFldBidi = true;
- }
- }*/
}
else
nNextLevel = rSI.DirType( rPos );
More information about the Libreoffice-commits
mailing list