[bug-62038] handle null font size in XSLFTextRun copy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822253 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a5d2574538
commit
7e434aa155
@ -226,7 +226,6 @@ public class XSLFTextRun implements TextRun {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the spacing between characters within a text run,
|
||||
* If this attribute is omitted than a value of 0 or no adjustment is assumed.
|
||||
*/
|
||||
@ -589,7 +588,7 @@ public class XSLFTextRun implements TextRun {
|
||||
setFontColor(srcFontColor);
|
||||
}
|
||||
|
||||
double srcFontSize = r.getFontSize();
|
||||
Double srcFontSize = r.getFontSize();
|
||||
if (srcFontSize != getFontSize()) {
|
||||
setFontSize(srcFontSize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user