From 40c69f020c0dee2e4edd390852143a4e71f6cd15 Mon Sep 17 00:00:00 2001 From: markm Date: Mon, 25 Mar 2002 09:33:16 +0000 Subject: [PATCH] Fix to ensure that lines class variable matches number of elements in Line Descriptors vector. --- .../xmerge/converter/xml/sxw/pocketword/Paragraph.java | 1 + 1 file changed, 1 insertion(+) diff --git a/xmerge/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/Paragraph.java b/xmerge/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/Paragraph.java index 50ca13789200..9429af1e9efc 100644 --- a/xmerge/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/Paragraph.java +++ b/xmerge/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/Paragraph.java @@ -682,6 +682,7 @@ class Paragraph implements PocketWordConstants { // Line Descriptor info should be eliminated each time lineDescriptors = new Vector(1, 1); + lines = 0; for (int i = 0; i < textSegments.size(); i++) { ParagraphTextSegment pts = (ParagraphTextSegment)textSegments.elementAt(i);