diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-01 10:17:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-02 09:32:10 +0200 |
commit | aeb6c0ed64a76c722158bf91313b42561cd66071 (patch) | |
tree | 5123d12450ed6732d3aae1e678c5a465478cc7f6 /sw/source/uibase/shells/beziersh.cxx | |
parent | loplugin: cstylecast (diff) | |
download | core-aeb6c0ed64a76c722158bf91313b42561cd66071.tar.gz core-aeb6c0ed64a76c722158bf91313b42561cd66071.zip |
loplugin: cstylecast
Change-Id: Id70cf0a2412de5d9b202b8209f0376c2f62a0669
Diffstat (limited to 'sw/source/uibase/shells/beziersh.cxx')
-rw-r--r-- | sw/source/uibase/shells/beziersh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/beziersh.cxx b/sw/source/uibase/shells/beziersh.cxx index f272e32d9998..301a98e17434 100644 --- a/sw/source/uibase/shells/beziersh.cxx +++ b/sw/source/uibase/shells/beziersh.cxx @@ -197,7 +197,7 @@ void SwBezierShell::Execute(SfxRequest &rReq) case SID_BEZIER_CLOSE: { - SdrPathObj* pPathObj = (SdrPathObj*) rMarkList.GetMark(0)->GetMarkedSdrObj(); + SdrPathObj* pPathObj = static_cast<SdrPathObj*>( rMarkList.GetMark(0)->GetMarkedSdrObj() ); pSdrView->UnmarkAllPoints(); // Size aDist(GetView().GetEditWin().PixelToLogic(Size(8,8))); pPathObj->ToggleClosed(); // aDist.Width()); |