Commit e8d3059f authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent ed373b7e
......@@ -62,6 +62,7 @@ void DXFNum::load(CFRecord& record)
int DXFNum::serialize(std::wostream & stream)
{
if (!parent) return 0;
if (fmt_id.ifmt == 0) return 0;
CP_XML_WRITER(stream)
{
......
......@@ -227,7 +227,7 @@ int FDB::serialize(std::wostream & strm, bool bSql, bool bDBB)
Formula->serialize_attr(CP_GET_XML_NODE());
}
if (!m_arSRCSXOPER.empty() && (bDBB || (!bDBB && bSql)) )
if (!m_arSRCSXOPER.empty() && (bDBB || (!bDBB && bSql) || !m_arGRPSXOPER.empty()) )
{
CP_XML_NODE(L"sharedItems")
{
......@@ -320,7 +320,7 @@ int FDB::serialize(std::wostream & strm, bool bSql, bool bDBB)
}
}
if (m_arGRPSXOPER.empty() == false)
if (!m_arGRPSXOPER.empty())
{
CP_XML_NODE(L"fieldGroup")
{
......
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