summaryrefslogtreecommitdiffstats
path: root/include/oox
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-21 20:32:46 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-22 09:03:33 -0500
commit6087da0dd402013b7d67fe6754081e647fdc5f8c (patch)
treea7a8971d86e9d8dd3f1d844fa7c22410feb119ff /include/oox
parentSet default cell style directly, without UNO API. (diff)
downloadcore-6087da0dd402013b7d67fe6754081e647fdc5f8c.tar.gz
core-6087da0dd402013b7d67fe6754081e647fdc5f8c.zip
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')
-rw-r--r--include/oox/helper/attributelist.hxx8
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