summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-01 10:56:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-01 13:54:51 +0100
commit7e579295c8c07998d7e077fa7e1db24745726e5f (patch)
tree5a276e6f17e6094b578b9b6947db9398e7509c65 /xmloff/inc
parent3515019f8aabebc6f0037fa2e8f4a271b64e3845 (diff)
convert SvXMLAutoStylePoolNamesP_Impl to a std::set
Change-Id: I839edf8d0e941f78f6f6f9e6a9117f76587a5f39
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmloff/XMLFontAutoStylePool.hxx5
-rw-r--r--xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx5
2 files changed, 6 insertions, 4 deletions
diff --git a/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx b/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
index f96e533538f2..4fd666b50efc 100644
--- a/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
@@ -24,9 +24,10 @@
#include "xmloff/dllapi.h"
#include <rtl/ustring.hxx>
#include <xmloff/uniref.hxx>
+#include <set>
class XMLFontAutoStylePool_Impl;
-class XMLFontAutoStylePoolNames_Impl;
+typedef std::set<rtl::OUString> XMLFontAutoStylePoolNames_Impl;
class SvXMLExport;
class XMLOFF_DLLPUBLIC XMLFontAutoStylePool : public UniRefBase
@@ -34,7 +35,7 @@ class XMLOFF_DLLPUBLIC XMLFontAutoStylePool : public UniRefBase
SvXMLExport& rExport;
XMLFontAutoStylePool_Impl *pPool;
- XMLFontAutoStylePoolNames_Impl *pNames;
+ XMLFontAutoStylePoolNames_Impl m_aNames;
sal_uInt32 nName;
protected:
diff --git a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
index 8c398193d3e7..ff84c3a4b2be 100644
--- a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
@@ -34,6 +34,7 @@
#include "sal/types.h"
#include <rtl/ustring.hxx>
#include <com/sun/star/ucb/XAnyCompare.hpp>
+#include <set>
namespace com { namespace sun { namespace star { namespace container {
class XIndexReplace; } } } }
@@ -41,7 +42,7 @@ namespace rtl { class OUString; }
class XMLTextListAutoStylePool_Impl;
-class XMLTextListAutoStylePoolNames_Impl;
+typedef std::set<rtl::OUString> XMLTextListAutoStylePoolNames_Impl;
class XMLTextListAutoStylePoolEntry_Impl;
class SvXMLExport;
@@ -52,7 +53,7 @@ class XMLOFF_DLLPUBLIC XMLTextListAutoStylePool
::rtl::OUString sPrefix;
XMLTextListAutoStylePool_Impl *pPool;
- XMLTextListAutoStylePoolNames_Impl *pNames;
+ XMLTextListAutoStylePoolNames_Impl m_aNames;
sal_uInt32 nName;
/** this is an optional NumRule compare component for applications where