|
|
|
@ -1725,9 +1725,6 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
|
|
|
|
|
protected void setUpTheme4NewTemplate() { |
|
|
|
|
TemplateTheme theme = getUsingTemplateThemeConfig().cachedFetchTheme4NewTemplate(); |
|
|
|
|
if (theme != null) { |
|
|
|
|
theme = getUsingTemplateThemeConfig().createNewTheme(); |
|
|
|
|
} |
|
|
|
|
TemplateThemeAttrMark themeAttrMark = template.getAttrMark(TemplateThemeAttrMark.XML_TAG); |
|
|
|
|
if (themeAttrMark == null) { |
|
|
|
|
themeAttrMark = new TemplateThemeAttrMark(); |
|
|
|
|