summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-06 15:12:10 +0100
committerAndras Timar <andras.timar@collabora.com>2017-04-23 21:37:10 +0200
commite90524f03222432f22d80833c2a16f497a300191 (patch)
treeff1028ecf52c79a3f7ba55849fdceeb695934b2f
parent797d88acc377d44396d6a4ec50630d910d703712 (diff)
ofz: treat short properties as run end
Reviewed-on: https://gerrit.libreoffice.org/36218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit c759d327f46770e40e6fa0b7c5740adb4102e683) (cherry picked from commit 9c1f145a1f7f88dde14ffa742f5630f22e8c7f45) Change-Id: I00a5bab63663e2dde43825707e84568fca6aa594
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 1a393b9dd2f3..9f0fc5d06e44 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -3767,7 +3767,7 @@ void SwWW8ImplReader::Read_Language( sal_uInt16 nId, const sal_uInt8* pData, sho
return;
}
- if( nLen < 0 ) // Ende des Attributes
+ if (nLen < 2) // end of attribute
m_pCtrlStck->SetAttr( *m_pPaM->GetPoint(), nId );
else
{