summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hwpreader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source/hwpreader.cxx')
-rw-r--r--hwpfilter/source/hwpreader.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index 06e26f8522c8..3b69da304af4 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -3712,10 +3712,10 @@ void HwpReader::makeFormula(TxtBox * hbox)
}
mybuf[l] = '\0';
- std::unique_ptr<Formula> form( new Formula(mybuf) );
- form->setDocumentHandler(m_rxDocumentHandler);
- form->setAttributeListImpl(mxList.get());
- form->parse();
+ Formula form( mybuf );
+ form.setDocumentHandler(m_rxDocumentHandler);
+ form.setAttributeListImpl(mxList.get());
+ form.parse();
}
/**