diff options
Diffstat (limited to 'sw/source/uibase/shells/drformsh.cxx')
-rw-r--r-- | sw/source/uibase/shells/drformsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/drformsh.cxx b/sw/source/uibase/shells/drformsh.cxx index 9d2916dd53d4..35d2991ddbba 100644 --- a/sw/source/uibase/shells/drformsh.cxx +++ b/sw/source/uibase/shells/drformsh.cxx @@ -83,7 +83,7 @@ void SwDrawFormShell::Execute(SfxRequest &rReq) if(pItem) { SdrView *pSdrView = rSh.GetDrawView(); - const SvxHyperlinkItem& rHLinkItem = *(const SvxHyperlinkItem *)pItem; + const SvxHyperlinkItem& rHLinkItem = *static_cast<const SvxHyperlinkItem *>(pItem); bool bConvertToText = rHLinkItem.GetInsertMode() == HLINK_DEFAULT || rHLinkItem.GetInsertMode() == HLINK_FIELD; const SdrMarkList& rMarkList = pSdrView->GetMarkedObjectList(); |