summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-29 10:03:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-29 10:12:50 +0100
commit73faf2c068b793dd05ddc66b562e8ac27b2745cd (patch)
tree31780645e07f2911173b40db99adb72e4d21cef8 /svx
parente0380df3ee1db7950be6ae5f03403fe4fbc07d7a (diff)
cppcheck: cstyleCast
Change-Id: I0868793be316b0648f91b566705ad1c63951fd1d
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/svdotable.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index c949cc6b9012..52b1edde6f25 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -2219,11 +2219,9 @@ void SdrTableObj::AddToHdlList(SdrHdlList& rHdlList) const
const size_t nHdlCount = rHdlList.GetHdlCount();
for( size_t nHdl = 0; nHdl < nHdlCount; ++nHdl )
- rHdlList.GetHdl(nHdl)->SetObj((SdrObject*)this);
+ rHdlList.GetHdl(nHdl)->SetObj(const_cast<SdrTableObj*>(this));
}
-
-
SdrHdl* SdrTableObj::GetHdl(sal_uInt32 nHdlNum) const
{
// #i73248#