diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-25 11:03:10 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-25 11:02:57 +0000 |
commit | d3714207b1d8cc323a639a942121b6c1aa4cd61b (patch) | |
tree | ad6d1ec19c087c8636aac37045b13f4d4d26f24e /svx/source/svdraw/svdocirc.cxx | |
parent | 78e4b913d1bdcef83f66249fb5006803f28f96d1 (diff) |
remove some unnecessary casts and convert some to const_cast
Change-Id: I590a87c832bc59947ae04e52d3ac5ea71574bb11
Reviewed-on: https://gerrit.libreoffice.org/15888
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index c0677ccc2c54..1468008781d2 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -464,7 +464,7 @@ SdrHdl* SdrCircObj::GetHdl(sal_uInt32 nHdlNum) const { pH = new SdrHdl(aPnt,eLocalKind); pH->SetPointNum(nPNum); - pH->SetObj((SdrObject*)this); + pH->SetObj(const_cast<SdrCircObj*>(this)); pH->SetRotationAngle(aGeo.nRotationAngle); } |