summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdetc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-08 08:53:52 +0200
committerNoel Grandin <noel@peralex.com>2015-09-09 10:06:11 +0200
commit7a39ae04220d70caef0335ed47452b36cd2e98c7 (patch)
treec04e69b8e818482da1a9bf797a09b479613fe4d0 /svx/source/svdraw/svdetc.cxx
parentcaec9ce01ea252e2661b7275da542a41526ff3f6 (diff)
convert Link<> to typed
Change-Id: I49bf8192a2f5295890ead8ddc2452a5de4c93b20
Diffstat (limited to 'svx/source/svdraw/svdetc.cxx')
-rw-r--r--svx/source/svdraw/svdetc.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index c18754d1c18c..e69fe4b5ae6a 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -561,11 +561,9 @@ sal_uInt16* RemoveWhichRange(const sal_uInt16* pOldWhichTable, sal_uInt16 nRange
-SvdProgressInfo::SvdProgressInfo( Link<> *_pLink )
+SvdProgressInfo::SvdProgressInfo( const Link<void*,bool>&_rLink )
{
- DBG_ASSERT(_pLink!=NULL,"SvdProgressInfo(): No Link stated!");
-
- pLink = _pLink;
+ maLink = _rLink;
nSumActionCount = 0;
nSumCurAction = 0;
@@ -592,7 +590,7 @@ bool SvdProgressInfo::ReportActions( sal_uIntPtr nAnzActions )
if(nCurAction > nActionCount)
nCurAction = nActionCount;
- return pLink->Call(NULL) == 1L;
+ return maLink.Call(NULL);
}
bool SvdProgressInfo::ReportInserts( sal_uIntPtr nAnzInserts )
@@ -600,13 +598,13 @@ bool SvdProgressInfo::ReportInserts( sal_uIntPtr nAnzInserts )
nSumCurAction += nAnzInserts;
nCurInsert += nAnzInserts;
- return pLink->Call(NULL) == 1L;
+ return maLink.Call(NULL);
}
bool SvdProgressInfo::ReportRescales( sal_uIntPtr nAnzRescales )
{
nSumCurAction += nAnzRescales;
- return pLink->Call(NULL) == 1L;
+ return maLink.Call(NULL);
}
void SvdProgressInfo::SetActionCount( sal_uIntPtr _nActionCount )