summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/polypolygoneditor.hxx7
-rw-r--r--include/svx/svdmark.hxx4
2 files changed, 6 insertions, 5 deletions
diff --git a/include/svx/polypolygoneditor.hxx b/include/svx/polypolygoneditor.hxx
index e8b6138dffa4..347bbc4a92a5 100644
--- a/include/svx/polypolygoneditor.hxx
+++ b/include/svx/polypolygoneditor.hxx
@@ -26,6 +26,7 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <set>
+#include <o3tl/sorted_vector.hxx>
namespace sdr
{
@@ -41,15 +42,15 @@ public:
/** returns true if the B2DPolyPolygon was changed.
Warning: B2DPolyPolygon can be empty after this operation!
*/
- bool DeletePoints( const std::set< sal_uInt16 >& rAbsPoints );
+ bool DeletePoints( const o3tl::sorted_vector< sal_uInt16 >& rAbsPoints );
/** returns true if the B2DPolyPolygon was changed.
*/
- bool SetSegmentsKind(SdrPathSegmentKind eKind, const std::set< sal_uInt16 >& rAbsPoints);
+ bool SetSegmentsKind(SdrPathSegmentKind eKind, const o3tl::sorted_vector< sal_uInt16 >& rAbsPoints);
/** returns true if the B2DPolyPolygon was changed.
*/
- bool SetPointsSmooth( basegfx::B2VectorContinuity eFlags, const std::set< sal_uInt16 >& rAbsPoints);
+ bool SetPointsSmooth( basegfx::B2VectorContinuity eFlags, const o3tl::sorted_vector< sal_uInt16 >& rAbsPoints);
/** Outputs the relative position ( polygon number and point number in that polygon ) from the absolute point number.
False is returned if the given absolute point is greater not inside this B2DPolyPolygon
diff --git a/include/svx/svdmark.hxx b/include/svx/svdmark.hxx
index f5f9c7b539d5..1b121a58f86e 100644
--- a/include/svx/svdmark.hxx
+++ b/include/svx/svdmark.hxx
@@ -21,12 +21,12 @@
#define INCLUDED_SVX_SVDMARK_HXX
#include <config_options.h>
+#include <o3tl/sorted_vector.hxx>
#include <rtl/ustring.hxx>
#include <svx/svxdllapi.h>
#include <svx/sdrobjectuser.hxx>
#include <memory>
-#include <set>
#include <vector>
namespace tools { class Rectangle; }
@@ -35,7 +35,7 @@ class SdrObjList;
class SdrObject;
class SdrPageView;
-typedef std::set<sal_uInt16> SdrUShortCont;
+typedef o3tl::sorted_vector<sal_uInt16> SdrUShortCont;
/**