summaryrefslogtreecommitdiffstats
path: root/include/sax/fastattribs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/sax/fastattribs.hxx')
-rw-r--r--include/sax/fastattribs.hxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx
index 8b669fe26a17..0a7d8712fb17 100644
--- a/include/sax/fastattribs.hxx
+++ b/include/sax/fastattribs.hxx
@@ -162,7 +162,16 @@ public:
mrList.AttributeValueLength(mnIdx),
RTL_TEXTENCODING_UTF8);
}
-
+ const char* toCString() const
+ {
+ assert(mnIdx < mrList.maAttributeTokens.size());
+ return mrList.getFastAttributeValue(mnIdx);
+ }
+ sal_Int32 getLength() const
+ {
+ assert(mnIdx < mrList.maAttributeTokens.size());
+ return mrList.AttributeValueLength(mnIdx);
+ }
bool isString(const char *str) const
{
assert(mnIdx < mrList.maAttributeTokens.size());