mirror of https://github.com/apache/poi.git
[bug-68703] revert fix issue with XSLFTextRuns in XSLFTableCells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916106 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1c156c4005
commit
db63599833
|
@ -75,7 +75,7 @@ public class XSLFTextParagraph implements TextParagraph<XSLFShape,XSLFTextParagr
|
|||
if (r instanceof CTTextLineBreak) {
|
||||
_runs.add(new XSLFLineBreak((CTTextLineBreak)r, this));
|
||||
} else if (r instanceof CTRegularTextRun || r instanceof CTTextField) {
|
||||
_runs.add(new XSLFTextRun(r, this));
|
||||
_runs.add(newTextRun(r));
|
||||
}
|
||||
} while (c.toNextSibling());
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ import java.util.List;
|
|||
|
||||
import org.apache.poi.sl.usermodel.PaintStyle;
|
||||
import org.apache.poi.xslf.XSLFTestDataSamples;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class TestXSLFTableCell
|
||||
|
@ -228,6 +229,7 @@ class TestXSLFTableCell
|
|||
ppt.close();
|
||||
}
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
void testBug68703() throws IOException {
|
||||
try(XMLSlideShow pptx = XSLFTestDataSamples.openSampleDocument("bug68703.pptx")) {
|
||||
|
|
Loading…
Reference in New Issue