summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-01-08 09:37:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-08 12:19:13 +0100
commit7a9ce835c9e299042813cf328e283a2c9e5742bc (patch)
tree059c02e1fbf19f238328d2d41946739effc9b114 /xmloff
parent78d4e78c43f688a3617d659774d985d466bb39dc (diff)
make ODBFilter return a fast context
And (*) use the fast parser already inside ODBFilter (*) pass around ODBFilter explicitly to make the code easier to read Change-Id: Ib0dd24e530b32b5edb94f150390df1e405c3efb9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86248 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 65016341d2de..0d9ea09be9f5 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -744,7 +744,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
Sequence < OUString > aParams { rName };
SetError( XMLERROR_FLAG_SEVERE|XMLERROR_UNKNOWN_ROOT,
- aParams, "Root element unknown", xDummyLocator );
+ aParams, "Root element " + aLocalName + " unknown", xDummyLocator );
}
}