[Libreoffice-commits] .: Branch 'feature/calc-xml-source' - sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 19 12:47:45 PST 2012
sc/source/filter/orcus/orcusfiltersimpl.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit d4035c5bc8435ebd1a41544cb78fc8d7eddfbe63
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Mon Nov 19 15:47:10 2012 -0500
Get it to build after updating liborcus from latest master.
Change-Id: Ie9cace11bf869777ff0986d38e856e68ad8fdb57
diff --git a/sc/source/filter/orcus/orcusfiltersimpl.cxx b/sc/source/filter/orcus/orcusfiltersimpl.cxx
index 2584770..3fa23e1 100644
--- a/sc/source/filter/orcus/orcusfiltersimpl.cxx
+++ b/sc/source/filter/orcus/orcusfiltersimpl.cxx
@@ -311,8 +311,9 @@ bool ScOrcusFiltersImpl::loadXMLStructure(
if (aStrm.empty())
return false;
- orcus::xmlns_repository aNsRepo; // xml namespace repository.
- orcus::xml_structure_tree aXmlTree(aNsRepo);
+ orcus::xmlns_repository repo; // xml namespace repository.
+ orcus::xmlns_context cxt = repo.create_context();
+ orcus::xml_structure_tree aXmlTree(cxt);
try
{
aXmlTree.parse(&aStrm[0], aStrm.size());
More information about the Libreoffice-commits
mailing list