[PATCH] delete commented code

Christina Roßmanith (via_Code_Review) gerrit at gerrit.libreoffice.org
Sun Apr 7 12:43:23 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3267

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/67/3267/1

delete commented code

Change-Id: Ia144e7b6e567d39816a4baa68187c157f7d8776e
---
M sw/source/core/text/pormulti.cxx
1 file changed, 0 insertions(+), 16 deletions(-)



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 @@
     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 );

-- 
To view, visit https://gerrit.libreoffice.org/3267
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia144e7b6e567d39816a4baa68187c157f7d8776e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christina Roßmanith <ChrRossmanith at web.de>



More information about the LibreOffice mailing list