diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-29 10:03:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-29 10:12:50 +0100 |
commit | 73faf2c068b793dd05ddc66b562e8ac27b2745cd (patch) | |
tree | 31780645e07f2911173b40db99adb72e4d21cef8 /svx | |
parent | e0380df3ee1db7950be6ae5f03403fe4fbc07d7a (diff) |
cppcheck: cstyleCast
Change-Id: I0868793be316b0648f91b566705ad1c63951fd1d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 4 |
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# |