diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-06 15:12:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-06 16:07:39 +0100 |
commit | aeac0bcacb8f6efcedb79df90e68078483d5a68f (patch) | |
tree | 87e1260bec3621b9ea64d4117fd0dc56e2a7bc53 /sw | |
parent | a6ac1545f79440ad31317ec975754eba57649ee7 (diff) |
ofz: treat short properties as run end
Change-Id: I00a5bab63663e2dde43825707e84568fca6aa594
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 6c73cc054da5..538486ea91c4 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -3827,7 +3827,7 @@ void SwWW8ImplReader::Read_Language( sal_uInt16 nId, const sal_uInt8* pData, sho return; } - if( nLen < 0 ) // end of attribute + if (nLen < 2) // end of attribute m_pCtrlStck->SetAttr( *m_pPaM->GetPoint(), nId ); else { |