[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Wed Aug 14 22:52:28 PDT 2013


 sw/source/core/text/frmcrsr.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 99fa8338fa3c740e610dc120848d353e5d1c9ef4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Aug 15 07:51:59 2013 +0200

    cppcheck: fix "pLine" is assigned a value never used
    
    Change-Id: I45bca881616788bd712c6214d3d59a7e09909291

diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index 940c940..cc77a91 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -1120,7 +1120,6 @@ void SwTxtFrm::PrepareVisualMove( xub_StrLen& nPos, sal_uInt8& nCrsrLevel,
     // Bidi functions from icu 2.0
     //
     const sal_Unicode* pLineString = GetTxtNode()->GetTxt().getStr();
-    pLine += nStt;
 
     UErrorCode nError = U_ZERO_ERROR;
     UBiDi* pBidi = ubidi_openSized( nLen, 0, &nError );


More information about the Libreoffice-commits mailing list