From 5364990831a7d5773ddbc2f35842c7b3a8d5534a Mon Sep 17 00:00:00 2001 From: Mohammed Abdul Azeem Date: Sun, 9 Jul 2017 22:37:00 +0530 Subject: Adding an overloaded IsXMLToken method: Passing FastAttributeIter to the method makes the code much cleaner and easy to read. Change-Id: I227e9dc378dfba51168c29452667576a779dc215 Reviewed-on: https://gerrit.libreoffice.org/39730 Tested-by: Jenkins Reviewed-by: Michael Meeks --- include/xmloff/xmltoken.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/xmloff') diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index d746ae78c5d0..976ffeea583f 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -24,6 +24,7 @@ #include #include #include +#include /** * Handling of tokens in XML: @@ -3302,6 +3303,10 @@ namespace xmloff { namespace token { XMLOFF_DLLPUBLIC bool IsXMLToken( const char* pCString, enum XMLTokenEnum eToken ); + + XMLOFF_DLLPUBLIC bool IsXMLToken( + const sax_fastparser::FastAttributeList::FastAttributeIter& aIter, + enum XMLTokenEnum eToken ); } } #endif -- cgit