Fixed NPE
This commit is contained in:
parent
abba63ef65
commit
a982c83e66
1 changed files with 4 additions and 2 deletions
|
@ -202,8 +202,10 @@ public class TextStyleParser extends StyleWithPropertiesParser {
|
||||||
StyleWithProperties style;
|
StyleWithProperties style;
|
||||||
style = ofr.getTextStyle(visitedStyleName);
|
style = ofr.getTextStyle(visitedStyleName);
|
||||||
Properties props = new Properties(";");
|
Properties props = new Properties(";");
|
||||||
cssText(style, props, true);
|
if (style != null) {
|
||||||
cssHyperlink(style, props);
|
cssText(style, props, true);
|
||||||
|
cssHyperlink(style, props);
|
||||||
|
}
|
||||||
String visitedAnchorDeclarationBlock = props.toString();
|
String visitedAnchorDeclarationBlock = props.toString();
|
||||||
return visitedAnchorDeclarationBlock;
|
return visitedAnchorDeclarationBlock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue