diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-14 11:05:49 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-20 19:46:39 +0200 |
commit | 59713265ece84a7775dfed209f4b42c53ec95a34 (patch) | |
tree | f5f8a27bf31bc0f4ff10dd6d3028b7244c02ab14 /sfx2/source/toolbox/tbxitem.cxx | |
parent | eb1204ef4439f86d14b0d0bfd8a8983cc840d7d8 (diff) |
Convert SV_DECL_PTRARR_DEL(SfxTbxCtrlFactArr_Impl) to std::vector
Change-Id: I2e80e17ed79e156bcfe379ddc5b11fd2cb2804d2
Diffstat (limited to 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r-- | sfx2/source/toolbox/tbxitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index 1e458ed912d3..478addb99c7d 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -337,7 +337,7 @@ SfxToolBoxControl* SfxToolBoxControl::CreateControl( sal_uInt16 nSlotId, sal_uIn { SfxTbxCtrlFactArr_Impl &rFactories = *pFactories; sal_uInt16 nFactory; - const sal_uInt16 nCount = rFactories.Count(); + const sal_uInt16 nCount = rFactories.size(); // search for a factory with the given slot id for( nFactory = 0; nFactory < nCount; ++nFactory ) @@ -364,7 +364,7 @@ SfxToolBoxControl* SfxToolBoxControl::CreateControl( sal_uInt16 nSlotId, sal_uIn SfxTbxCtrlFactArr_Impl &rFactories = pApp->GetTbxCtrlFactories_Impl(); sal_uInt16 nFactory; - const sal_uInt16 nCount = rFactories.Count(); + const sal_uInt16 nCount = rFactories.size(); for( nFactory = 0; nFactory < nCount; ++nFactory ) if( (rFactories[nFactory]->nTypeId == aSlotType) && (rFactories[nFactory]->nSlotId == nSlotId) ) |