diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-21 20:32:46 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-11-22 09:03:33 -0500 |
commit | 6087da0dd402013b7d67fe6754081e647fdc5f8c (patch) | |
tree | a7a8971d86e9d8dd3f1d844fa7c22410feb119ff /include/sax/fastattribs.hxx | |
parent | 151beeb0b234512768080da3441ebe40a46cd861 (diff) |
getChar() to return a null-terminated char array.
No need to fetch string size with this change.
Change-Id: Iae5f6c60430fc57985a0fec5bfec59727e5a8f0f
Diffstat (limited to 'include/sax/fastattribs.hxx')
-rw-r--r-- | include/sax/fastattribs.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index f47da070c1fc..42b285c9e847 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -76,7 +76,7 @@ public: // performance sensitive shortcuts to avoid allocation ... bool getAsInteger( sal_Int32 nToken, sal_Int32 &rInt); bool getAsDouble( sal_Int32 nToken, double &rDouble); - bool getAsChar( sal_Int32 nToken, const char*& rPos, size_t& rLen ) const; + bool getAsChar( sal_Int32 nToken, const char*& rPos ) const; // XFastAttributeList virtual ::sal_Bool SAL_CALL hasAttribute( ::sal_Int32 Token ) throw (::com::sun::star::uno::RuntimeException); |