summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorMohammed Abdul Azeem <azeemmysore@gmail.com>2017-07-09 22:37:00 +0530
committerMohammed Abdul Azeem <azeemmysore@gmail.com>2017-07-10 20:05:09 +0200
commit5364990831a7d5773ddbc2f35842c7b3a8d5534a (patch)
tree6072d6dd0ded790d5658be55b1a619f4dcda6ee4 /include/xmloff
parent271882910107e177bc98af877f9c8b9f89c09795 (diff)
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 <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmltoken.hxx5
1 files changed, 5 insertions, 0 deletions
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 <xmloff/dllapi.h>
#include <sal/types.h>
#include <rtl/ustring.hxx>
+#include <sax/fastattribs.hxx>
/**
* 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