summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-12 20:11:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-13 13:34:15 +0100
commitdb6c54b2e93d1cc5c02e7db7b1841fabbc3ef950 (patch)
tree702b0735606f94719d11ab015fc19aea86b92ec2 /xmloff
parent09597ab01d22820137ada0dc08b5a9bf481468a8 (diff)
convert dbaccess to FastParser APIs
Noting that I use "& TOKEN_MASK" a lot because we can be dealing with either NAMESPACE_DB or NAMESPACE_DB_OASIS. Change-Id: I5ca0aac61e37dc903bb998a43b73b48df22e55fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86655 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 0d9ea09be9f5..f76c325d1f0d 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -748,7 +748,8 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
}
}
- SAL_WARN_IF( !xContext.is(), "xmloff.core", "SvXMLImport::startElement: missing context for element " << aLocalName );
+ SAL_WARN_IF( !xContext.is(), "xmloff.core", "SvXMLImport::startElement: missing context for element " << rName );
+
if( !xContext.is() )
xContext.set(new SvXMLImportContext( *this, nPrefix, aLocalName ));