diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-15 10:09:20 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-16 15:14:58 +0200 |
commit | 3c4fd9de6270948a3f215ae7da23d7f30c1d76da (patch) | |
tree | 7757a69a6ee0274a98910ede93b400c6a18d6208 /svx/inc/svdibrow.hxx | |
parent | 0ed685f8ff352a5b1ec8604a9e943547f9ca7ef3 (diff) |
Convert aList in class _SdrItemBrowserControl from Container to std::vector
Change-Id: I9a64f26e57b9ceb35100364c2e875e2f07a4be65
Diffstat (limited to 'svx/inc/svdibrow.hxx')
-rw-r--r-- | svx/inc/svdibrow.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index a71227e753bd..8a8e8686d671 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -29,7 +29,6 @@ #ifndef _SVDIBROW_HXX #define _SVDIBROW_HXX -#include <tools/contnr.hxx> #include <svtools/brwbox.hxx> #include <vcl/edit.hxx> #include <vcl/floatwin.hxx> @@ -41,7 +40,7 @@ class BrowserMouseEvent; class _SdrItemBrowserControl: public BrowseBox { friend class ImpItemEdit; - Container aList; + std::vector<ImpItemListRow*> aList; long nAktPaintRow; Edit* pEditControl; XubString aWNamMerk; @@ -61,7 +60,7 @@ private: #if _SOLAR__PRIVATE void ImpCtor(); void ImpSetEntry(const ImpItemListRow& rEntry, sal_uIntPtr nEntryNum); - ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return (ImpItemListRow*)aList.GetObject(nPos); } + ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return aList[nPos]; } void ImpSaveWhich(); void ImpRestoreWhich(); #endif // __PRIVATE |