[poppler] poppler/qt4/src: poppler-page.cc,1.18,1.19

Albert Astals Cid aacid at kemper.freedesktop.org
Sat May 6 03:57:09 PDT 2006


Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv716

Modified Files:
	poppler-page.cc 
Log Message:
fix code, i suck


Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-page.cc,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- poppler-page.cc	4 May 2006 19:10:55 -0000	1.18
+++ poppler-page.cc	6 May 2006 10:57:07 -0000	1.19
@@ -223,7 +223,7 @@
     TextBox* text_box = new TextBox(string, QRectF(xMin, yMin, xMax-xMin, yMax-yMin));
     text_box->m_data->hasSpaceAfter = word->hasSpaceAfter() == gTrue;
     text_box->m_data->edge.reserve(word->getLength() + 1);
-    for (int j = 0; j <= word->getLength(); ++j) text_box->m_data->edge[j] = word->getEdge(j);
+    for (int j = 0; j <= word->getLength(); ++j) text_box->m_data->edge.append(word->getEdge(j));
     
     wordBoxMap.insert(word, text_box);
     



More information about the poppler mailing list