summaryrefslogtreecommitdiff
path: root/sw/inc/PostItMgr.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2018-08-13 18:33:00 +0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-17 22:13:17 +0200
commitabb780094d9a6b6261c4a4018d24f3853d04876d (patch)
tree4c89e924d6bb546467dfc57092e43e366e7b3b9d /sw/inc/PostItMgr.hxx
parent319b187e8b48d014fb79406466887a1143147f57 (diff)
sw: Replace std::list with std::vector for simplicity
Change-Id: I239df7b0009711eeaf025221bec9c95887681c8d Reviewed-on: https://gerrit.libreoffice.org/58918 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/PostItMgr.hxx')
-rw-r--r--sw/inc/PostItMgr.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx
index e3f881e59d39..9650996c50f3 100644
--- a/sw/inc/PostItMgr.hxx
+++ b/sw/inc/PostItMgr.hxx
@@ -24,7 +24,6 @@
#include "swdllapi.h"
#include <cstddef>
-#include <list>
#include <memory>
#include <vector>
#include <rtl/ustring.hxx>
@@ -155,7 +154,7 @@ class SwPostItMgr: public SfxListener
void Scroll(const long lScroll,const unsigned long aPage );
void AutoScroll(const sw::annotation::SwAnnotationWin* pPostIt,const unsigned long aPage );
bool ScrollbarHit(const unsigned long aPage,const Point &aPoint);
- bool LayoutByPage( std::list<sw::annotation::SwAnnotationWin*> &aVisiblePostItList,
+ bool LayoutByPage( std::vector<sw::annotation::SwAnnotationWin*> &aVisiblePostItList,
const tools::Rectangle& rBorder,
long lNeededHeight);
void CheckForRemovedPostIts();