Commit ef7df690 authored by ElenaSubbotina's avatar ElenaSubbotina

linux build fix

parent b3961994
......@@ -2962,12 +2962,10 @@ void CDrawingConverter::doc_LoadGroup(PPTX::Logic::SpTreeElem *result, XmlUtils:
{
if (!result) return;
PPTX::Logic::SpTree* pTree = new PPTX::Logic::SpTree();
PPTX::Logic::SpTree* pTree = new PPTX::Logic::SpTree(L"wp");
if (bIsTop)
pTree->m_name = L"wpg:wgp";
else
pTree->m_name = L"wpg:grpSp";
if (bIsTop) pTree->m_lGroupIndex = 0;
else pTree->m_lGroupIndex = 1;
XmlUtils::CXmlNodes oNodes;
if (oNode.GetNodes(L"*", oNodes))
......
......@@ -110,7 +110,7 @@ namespace PPTX
{
if (elem.getType() == OOX::et_p_ShapeTree)
{
smart_ptr<SpTree> &e = elem.GetElem().smart_dynamic_cast<SpTree>();
smart_ptr<SpTree> e = elem.GetElem().smart_dynamic_cast<SpTree>();
e->m_lGroupIndex = m_lGroupIndex + 1;
}
SpTreeElems.push_back(elem);
......@@ -156,7 +156,7 @@ namespace PPTX
{
if (elem.getType() == OOX::et_p_ShapeTree)
{
smart_ptr<SpTree> &e = elem.GetElem().smart_dynamic_cast<SpTree>();
smart_ptr<SpTree> e = elem.GetElem().smart_dynamic_cast<SpTree>();
e->m_lGroupIndex = m_lGroupIndex + 1;
}
SpTreeElems.push_back(elem);
......@@ -302,7 +302,7 @@ namespace PPTX
{
if (elm.getType() == OOX::et_p_ShapeTree)
{
smart_ptr<SpTree> &e = elm.GetElem().smart_dynamic_cast<SpTree>();
smart_ptr<SpTree> e = elm.GetElem().smart_dynamic_cast<SpTree>();
e->m_lGroupIndex = m_lGroupIndex + 1;
}
SpTreeElems.push_back(elm);
......
......@@ -357,7 +357,7 @@ namespace PPTX
if (getType() == OOX::et_p_ShapeTree)
{
smart_ptr<PPTX::Logic::SpTree> &parent = GetElem().smart_dynamic_cast<PPTX::Logic::SpTree>();
smart_ptr<PPTX::Logic::SpTree> parent = GetElem().smart_dynamic_cast<PPTX::Logic::SpTree>();
p->m_lGroupIndex = parent->m_lGroupIndex + 1;
}
m_elem.reset(p);
......
......@@ -7,7 +7,7 @@
QT -= core
QT -= gui
VERSION = 2.0.3.444
VERSION = 2.0.3.445
DEFINES += INTVER=$$VERSION
TARGET = x2t
......
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