diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-14 14:47:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-16 15:14:56 +0200 |
commit | 028b34d93be5b794a195df518741ed67f9afdc09 (patch) | |
tree | c4c01c0eecb3d28f0b5a5ac2cc47f7b2e4305541 /svx/source/svdraw/svdoole2.cxx | |
parent | 0aafccd61ee557ab35c3b0ead22f90a633ef80b8 (diff) |
Convert OLEObjCache class from Container to std::vector
Change-Id: Id1cbbfb2b8436a28647a528db3ae7ed46d32da83
Diffstat (limited to 'svx/source/svdraw/svdoole2.cxx')
-rw-r--r-- | svx/source/svdraw/svdoole2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index 8c111dce9133..9c5c8f89d4e6 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -391,10 +391,10 @@ void SAL_CALL SdrLightEmbeddedClient_Impl::activatingUI() xParentFrame->setActiveFrame( xOwnFrame ); OLEObjCache& rObjCache = GetSdrGlobalData().GetOLEObjCache(); - const sal_uIntPtr nCount = rObjCache.Count(); + const sal_uIntPtr nCount = rObjCache.size(); for(sal_Int32 i = nCount-1 ; i >= 0;--i) { - SdrOle2Obj* pObj = reinterpret_cast<SdrOle2Obj*>(rObjCache.GetObject(i)); + SdrOle2Obj* pObj = rObjCache[i]; if ( pObj != mpObj ) { // only deactivate ole objects which belongs to the same frame |