p.getPPr().getPStyle().setVal(resultStyle);
}
}
//}
} else {
PStyle pstyle = p.getPPr().getPStyle();
String styleVal = pstyle.getVal();
if (styleVal!=null) {
if (tblStack.size()>0) {
log.debug("Fixing " + pstyle.getVal());
String newStyle = getCellPStyle(styleVal,
styleVal.equals(defaultParagraphStyle));
if (newStyle==null) {
log.debug("getCellPStyle returned null, so leave as is");
} else {