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/oox/helper | |
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/oox/helper')
-rw-r--r-- | include/oox/helper/attributelist.hxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/oox/helper/attributelist.hxx b/include/oox/helper/attributelist.hxx index 78ea83e28ab2..e22e8164caf1 100644 --- a/include/oox/helper/attributelist.hxx +++ b/include/oox/helper/attributelist.hxx @@ -75,12 +75,6 @@ public: class OOX_DLLPUBLIC AttributeList { public: - struct Char - { - const char* mpPos; - size_t mnSize; - }; - explicit AttributeList( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& rxAttribs ); @@ -138,7 +132,7 @@ public: passed default string if the attribute is missing. */ OUString getXString( sal_Int32 nAttrToken, const OUString& rDefault ) const; - Char getChar( sal_Int32 nAttrToken ) const; + const char* getChar( sal_Int32 nAttrToken ) const; /** Returns the double value of the specified attribute, or the passed |