Commit b75495c4 authored by konovalovsergey's avatar konovalovsergey

write tableStyle without tableStyleElement

parent 49939a7f
...@@ -116,7 +116,7 @@ namespace OOX ...@@ -116,7 +116,7 @@ namespace OOX
} }
virtual void toXML(NSStringUtils::CStringBuilder& writer) const virtual void toXML(NSStringUtils::CStringBuilder& writer) const
{ {
if(m_oName.IsInit() && m_arrItems.size() > 0) if(m_oName.IsInit())
{ {
writer.WriteString(_T("<tableStyle")); writer.WriteString(_T("<tableStyle"));
WritingStringNullableAttrEncodeXmlString(L"name", m_oName, m_oName.get()); WritingStringNullableAttrEncodeXmlString(L"name", m_oName, m_oName.get());
...@@ -249,4 +249,4 @@ namespace OOX ...@@ -249,4 +249,4 @@ namespace OOX
} //Spreadsheet } //Spreadsheet
} // namespace OOX } // namespace OOX
#endif // OOX_TABLESTYLES_FILE_INCLUDE_H_ #endif // OOX_TABLESTYLES_FILE_INCLUDE_H_
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment