can use sorted_vector here
Change-Id: I5f6c1fe7de1dcd409f484a755b8e1313acc8f0c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100741 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#include <txtftn.hxx>
|
||||
#include <scriptinfo.hxx>
|
||||
#include <IDocumentMarkAccess.hxx>
|
||||
#include <set>
|
||||
#include <o3tl/sorted_vector.hxx>
|
||||
#include <vector>
|
||||
|
||||
namespace {
|
||||
@@ -64,7 +64,7 @@ struct block
|
||||
sal_Int32 m_nStart;
|
||||
sal_Int32 m_nLen;
|
||||
bool m_bVisible;
|
||||
std::set<FieldResult, sortfieldresults> m_aAttrs;
|
||||
o3tl::sorted_vector<FieldResult, sortfieldresults> m_aAttrs;
|
||||
block(sal_Int32 nStart, sal_Int32 nLen, bool bVisible)
|
||||
: m_nStart(nStart), m_nLen(nLen), m_bVisible(bVisible)
|
||||
{
|
||||
|
Reference in New Issue
Block a user