summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pormulti.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-07 21:28:31 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-08 09:14:37 +0000
commit407985323fe209ed8636567190a790a6cf605122 (patch)
tree241d58890c7a129f6a74ab5813aa69166628bcc5 /sw/source/core/text/pormulti.cxx
parent164027e48899faaee284242eaca04b8aa5545319 (diff)
delete commented code
Change-Id: Ia144e7b6e567d39816a4baa68187c157f7d8776e Reviewed-on: https://gerrit.libreoffice.org/3267 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'sw/source/core/text/pormulti.cxx')
-rw-r--r--sw/source/core/text/pormulti.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 18951c5c68a0..a375f34fd6f2 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 );