diff options
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/parsemanager.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configmgr/source/parsemanager.cxx b/configmgr/source/parsemanager.cxx index 48ec7379e169..192b34aecf1e 100644 --- a/configmgr/source/parsemanager.cxx +++ b/configmgr/source/parsemanager.cxx @@ -60,11 +60,11 @@ bool ParseManager::parse(std::set< OUString > const * existingDependencies) { sal_uInt32 startTime( osl_getGlobalTimer() ); for (;;) { switch (itemData_.is() - ? xmlreader::XmlReader::RESULT_BEGIN + ? xmlreader::XmlReader::Result::Begin : reader_.nextItem( parser_->getTextMode(), &itemData_, &itemNamespaceId_)) { - case xmlreader::XmlReader::RESULT_BEGIN: + case xmlreader::XmlReader::Result::Begin: if (!parser_->startElement( reader_, itemNamespaceId_, itemData_, existingDependencies)) { @@ -72,13 +72,13 @@ bool ParseManager::parse(std::set< OUString > const * existingDependencies) { return false; } break; - case xmlreader::XmlReader::RESULT_END: + case xmlreader::XmlReader::Result::End: parser_->endElement(reader_); break; - case xmlreader::XmlReader::RESULT_TEXT: + case xmlreader::XmlReader::Result::Text: parser_->characters(itemData_); break; - case xmlreader::XmlReader::RESULT_DONE: + case xmlreader::XmlReader::Result::Done: SAL_INFO("configmgr", "parsing " << reader_.getUrl() << " took " << (osl_getGlobalTimer() - startTime) << " ms, success"); return true; } |