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

Caolán McNamara caolanm at redhat.com
Wed Apr 5 13:25:15 UTC 2017


 sw/source/filter/ww8/ww8par6.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5252673d686913210dd65608b7d24b0e9d51cf00
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 5 14:24:09 2017 +0100

    ofz: treat short properties as run end
    
    Change-Id: I1250f74c9f4ed6679a89c7915fb704c8b8cd693f

diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index a1c35e6dc1c3..6c73cc054da5 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -311,7 +311,7 @@ void SwWW8ImplReader::SetDocumentGrid(SwFrameFormat &rFormat, const wwSection &r
 
 void SwWW8ImplReader::Read_ParaBiDi(sal_uInt16, const sal_uInt8* pData, short nLen)
 {
-    if( nLen < 0 )
+    if (nLen < 1)
         m_pCtrlStck->SetAttr(*m_pPaM->GetPoint(), RES_FRAMEDIR);
     else
     {


More information about the Libreoffice-commits mailing list