diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-11 12:31:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-17 22:14:30 +0200 |
commit | bdc0b3e3d7f1f5a07f4863913aef0824dedf9a69 (patch) | |
tree | 1a8c0dc73f0d91a3f00080c5a87f85140d534bd7 /include/xmloff/xmlimp.hxx | |
parent | 30cee1ae3e36c5b3bdae71550298abac5abc8788 (diff) |
crashtesting: assert on fdo62508-1.odt
document, with meta:generator of "opxml2odf - Version KO 0.1" has
a styles.xml xmlns of...
xmlns:ofo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
instead of the usual xmlns:fo=...
use the importer namespace map to get the importers namespace prefix
for the fastparser namespace uri for the token
Change-Id: Ib633009f6c2b7dae5a3ceb1c921adfff84e21150
Reviewed-on: https://gerrit.libreoffice.org/52720
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/xmloff/xmlimp.hxx')
-rw-r--r-- | include/xmloff/xmlimp.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 5ac6e5c2091e..f213f21cd2fa 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -382,7 +382,7 @@ public: XMLEventImportHelper& GetEventImport(); static const OUString getNameFromToken( sal_Int32 nToken ); - static const OUString getNamespacePrefixFromToken( sal_Int32 nToken ); + static const OUString getNamespacePrefixFromToken(sal_Int32 nToken, const SvXMLNamespaceMap* pMap); static const OUString getNamespaceURIFromToken( sal_Int32 nToken ); static const OUString getNamespacePrefixFromURI( const OUString& rURI ); |