summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/linkuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-12 15:41:27 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-12 23:25:10 +0200
commit2a360b68475d6fff5b6618feddb0b52f3a4a2373 (patch)
tree451af5b0f0f86241f578cf123818886436e31894 /sc/source/ui/unoobj/linkuno.cxx
parent3a27dcd0ccac691307648c3d7a96c28412e0a311 (diff)
Convert SV_DECL_PTRARR(SvBaseLinks) to std::vector
Change-Id: I9197dc4fd7ed32f030de8121913265ec78c83585
Diffstat (limited to 'sc/source/ui/unoobj/linkuno.cxx')
-rw-r--r--sc/source/ui/unoobj/linkuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index b5d327f5f8cd..4986f514450c 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -122,7 +122,7 @@ ScTableLink* ScSheetLinkObj::GetLink_Impl() const
if (pDocShell)
{
sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager();
- sal_uInt16 nCount = pLinkManager->GetLinks().Count();
+ sal_uInt16 nCount = pLinkManager->GetLinks().size();
for (sal_uInt16 i=0; i<nCount; i++)
{
::sfx2::SvBaseLink* pBase = *pLinkManager->GetLinks()[i];
@@ -596,7 +596,7 @@ ScAreaLink* lcl_GetAreaLink( ScDocShell* pDocShell, sal_uInt16 nPos )
if (pDocShell)
{
sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager();
- sal_uInt16 nTotalCount = pLinkManager->GetLinks().Count();
+ sal_uInt16 nTotalCount = pLinkManager->GetLinks().size();
sal_uInt16 nAreaCount = 0;
for (sal_uInt16 i=0; i<nTotalCount; i++)
{
@@ -1014,7 +1014,7 @@ sal_Int32 SAL_CALL ScAreaLinksObj::getCount() throw(uno::RuntimeException)
if (pDocShell)
{
sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager();
- sal_uInt16 nTotalCount = pLinkManager->GetLinks().Count();
+ sal_uInt16 nTotalCount = pLinkManager->GetLinks().size();
for (sal_uInt16 i=0; i<nTotalCount; i++)
{
::sfx2::SvBaseLink* pBase = *pLinkManager->GetLinks()[i];