Commit bc346114 authored by ElenaSubbotina's avatar ElenaSubbotina

fix pptx note slide default

parent 80d4e605
...@@ -1090,6 +1090,11 @@ namespace NSBinPptxRW ...@@ -1090,6 +1090,11 @@ namespace NSBinPptxRW
pTxRun->SetText(_T("")); // enter simple comment here pTxRun->SetText(_T("")); // enter simple comment here
pShape->txBody = pTxBody; pShape->txBody = pTxBody;
if (pShape->txBody.IsInit())
{
if (!pShape->txBody->bodyPr.IsInit())
pShape->txBody->bodyPr = new PPTX::Logic::BodyPr;
}
PPTX::Logic::RunElem elm; PPTX::Logic::RunElem elm;
pTxBody->Paragrs[0].RunElems.push_back(elm); pTxBody->Paragrs[0].RunElems.push_back(elm);
......
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