diff options
Diffstat (limited to 'include/sax')
-rw-r--r-- | include/sax/fastattribs.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index 112e67801262..958899015372 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -145,6 +145,12 @@ public: mrList.AttributeValueLength(mnIdx), RTL_TEXTENCODING_UTF8); } + + const char* toCString() + { + assert(mnIdx < mrList.maAttributeTokens.size()); + return mrList.getFastAttributeValue(mnIdx); + } bool isString(const char *str) { assert(mnIdx < mrList.maAttributeTokens.size()); |