diff options
Diffstat (limited to 'include/sax/fastattribs.hxx')
-rw-r--r-- | include/sax/fastattribs.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index fb6f47eb7f9d..72eb9cf890d3 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -56,7 +56,7 @@ class SAX_DLLPUBLIC FastTokenHandlerBase : { public: virtual ~FastTokenHandlerBase(); - virtual sal_Int32 getTokenDirect( const char *pToken, sal_Int32 nLength ) const = 0; + virtual sal_Int32 getTokenDirect(std::string_view token) const = 0; /** * Client method to attempt the use of this interface if possible. @@ -122,6 +122,7 @@ public: { return OStringToOUString(getAsViewByIndex(nTokenIndex), RTL_TEXTENCODING_UTF8); } + sal_Int32 getValueTokenByIndex(sal_Int32 nTokenIndex) const; // XFastAttributeList virtual sal_Bool SAL_CALL hasAttribute( ::sal_Int32 Token ) override; |