summaryrefslogtreecommitdiffstats
path: root/include/svx/SvxColorValueSet.hxx
diff options
context:
space:
mode:
authorUrsache Vladimir <ursache@collabora.co.uk>2015-02-14 02:46:47 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-02-14 01:51:54 +0100
commit50a36041e18dc2a595259b5414ded409687dc47b (patch)
tree2f61edb3336449a6649eb5defbd0ca50d5c966b8 /include/svx/SvxColorValueSet.hxx
parentrelated tdf#89004 improve performance of document data collection (diff)
downloadcore-50a36041e18dc2a595259b5414ded409687dc47b.tar.gz
core-50a36041e18dc2a595259b5414ded409687dc47b.zip
related tdf#89004 move to std:set instead of std::vector
Conflicts: sc/source/core/data/document10.cxx sw/source/core/doc/docfmt.cxx Change-Id: I1312f476607ea3a78b162a7e59323b0a142f6629
Diffstat (limited to 'include/svx/SvxColorValueSet.hxx')
-rw-r--r--include/svx/SvxColorValueSet.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx
index 351116a01bae..33409db00da3 100644
--- a/include/svx/SvxColorValueSet.hxx
+++ b/include/svx/SvxColorValueSet.hxx
@@ -21,6 +21,7 @@
#include <svtools/valueset.hxx>
#include <svx/svxdllapi.h>
+#include <set>
class XColorList;
@@ -36,7 +37,7 @@ public:
sal_uInt32 getColumnCount() const;
void addEntriesForXColorList(const XColorList& rXColorList, sal_uInt32 nStartIndex = 1);
- void addEntriesForColorVector(const std::vector<Color>& rColorVector, const OUString& rNamePrefix, sal_uInt32 nStartIndex = 1);
+ void addEntriesForColorSet(const std::set<Color>& rColorSet, const OUString& rNamePrefix, sal_uInt32 nStartIndex = 1);
Size layoutAllVisible(sal_uInt32 nEntryCount);
Size layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntryCount);
};