summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdetc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 10:58:54 +0200
committerNoel Grandin <noel@peralex.com>2016-01-13 12:16:23 +0200
commit139c2e8cbde7e176d184c46583d1b78ef851515a (patch)
tree1df9c43c20ceaf4a461d9291e7359ddfde129adb /svx/source/svdraw/svdetc.cxx
parent6cbf151fa91ce50f7b1582c6e502a4474ba54b8e (diff)
loplugin:unusedmethods unused return value in include/svx
Change-Id: I9a5e937905fd71ecbbf9cb215ff6cc2b7defc6f3
Diffstat (limited to 'svx/source/svdraw/svdetc.cxx')
-rw-r--r--svx/source/svdraw/svdetc.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index 1912588117ba..437e67411a20 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -583,18 +583,18 @@ bool SvdProgressInfo::ReportActions( sal_uIntPtr nAnzActions )
return maLink.Call(nullptr);
}
-bool SvdProgressInfo::ReportInserts( sal_uIntPtr nAnzInserts )
+void SvdProgressInfo::ReportInserts( sal_uIntPtr nAnzInserts )
{
nSumCurAction += nAnzInserts;
nCurInsert += nAnzInserts;
- return maLink.Call(nullptr);
+ maLink.Call(nullptr);
}
-bool SvdProgressInfo::ReportRescales( sal_uIntPtr nAnzRescales )
+void SvdProgressInfo::ReportRescales( sal_uIntPtr nAnzRescales )
{
nSumCurAction += nAnzRescales;
- return maLink.Call(nullptr);
+ maLink.Call(nullptr);
}
void SvdProgressInfo::SetActionCount( sal_uIntPtr _nActionCount )
@@ -607,7 +607,7 @@ void SvdProgressInfo::SetInsertCount( sal_uIntPtr _nInsertCount )
nInsertCount = _nInsertCount;
}
-bool SvdProgressInfo::SetNextObject()
+void SvdProgressInfo::SetNextObject()
{
nActionCount = 0;
nCurAction = 0;
@@ -616,7 +616,7 @@ bool SvdProgressInfo::SetNextObject()
nCurInsert = 0;
nCurObj++;
- return ReportActions(0);
+ ReportActions(0);
}
// #i101872# isolate GetTextEditBackgroundColor to tooling; it will anyways only be used as long