Skip to content

Commit

Permalink
[bug-68703] revert fix issue with XSLFTextRuns in XSLFTableCells
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916106 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pjfanning committed Mar 4, 2024
1 parent 1c156c4 commit db63599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private interface Procedure {
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());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Licensed to the Apache Software Foundation (ASF) under one or more

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
Expand Down Expand Up @@ -228,6 +229,7 @@ void testCorrectlyReadsTextRunStylingForCellsWithTheme() throws IOException {
ppt.close();
}

@Disabled
@Test
void testBug68703() throws IOException {
try(XMLSlideShow pptx = XSLFTestDataSamples.openSampleDocument("bug68703.pptx")) {
Expand Down

0 comments on commit db63599

Please sign in to comment.