parent
2d9f671072
commit
f2e8cc72d4
@ -1,25 +0,0 @@
|
|||||||
From 68b3b74569881248bfb6cbb4266177cc253b292f Mon Sep 17 00:00:00 2001
|
|
||||||
From: David Tardon <dtardon@redhat.com>
|
|
||||||
Date: Sat, 8 Apr 2017 14:03:29 +0200
|
|
||||||
Subject: [PATCH] ofz#1037 resize vector correctly
|
|
||||||
|
|
||||||
---
|
|
||||||
src/lib/MsWrd1Parser.cxx | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/lib/MsWrd1Parser.cxx b/src/lib/MsWrd1Parser.cxx
|
|
||||||
index 63547e6..3626064 100644
|
|
||||||
--- a/src/lib/MsWrd1Parser.cxx
|
|
||||||
+++ b/src/lib/MsWrd1Parser.cxx
|
|
||||||
@@ -902,7 +902,7 @@ bool MsWrd1Parser::readFootnoteCorrespondance(MWAWVec2i limits)
|
|
||||||
int id = fIt++->second;
|
|
||||||
fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first;
|
|
||||||
if (id >= int(m_state->m_footnotesList.size()))
|
|
||||||
- m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0));
|
|
||||||
+ m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0));
|
|
||||||
m_state->m_footnotesList[size_t(id)]=fPos;
|
|
||||||
}
|
|
||||||
ascii().addDelimiter(input->tell(),'|');
|
|
||||||
--
|
|
||||||
2.13.0
|
|
||||||
|
|
@ -1 +1 @@
|
|||||||
SHA512 (libmwaw-0.3.11.tar.xz) = d4a810c6066023608a15ece8a6bbc958e586d679fc4ad51156091ec88355292872f10198e723e28776b45e140a830fd4c698732cf6103743d6e80ad8e1d778ab
|
SHA512 (libmwaw-0.3.12.tar.xz) = 8af8477ff6fc251600f9a66059b20fd8b9fad8d599c01e847d7185944447b3a34567036daff4d4510934aa1462bd4810a39467e8ac0ec223147b3b53447220ec
|
||||||
|
Loading…
Reference in new issue