diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 18:57:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:17 +0100 |
commit | 989f0ec5739ca00873d1c7b2b1617b1f354215f4 (patch) | |
tree | 871f80e9f92953edf65fd6d8705b97efa08a643e /basctl/source/basicide/moduldlg.cxx | |
parent | 03621417bff91364a83a50d6b7ea7db228bbec09 (diff) |
Clean up C-style casts from pointers to void
Change-Id: I0db5c02e9fbc09fe7d85e46f1434c86b5b5b4853
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index b34dbeb1b040..57b9e110a9cc 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -706,7 +706,7 @@ IMPL_LINK( ObjectPage, ButtonHdl, Button *, pButton ) SvTreeListEntry* pParentEntry = m_pBasicBox->GetParent( pCurEntry ); if ( pParentEntry ) { - DocumentEntry* pDocumentEntry = (DocumentEntry*)pParentEntry->GetUserData(); + DocumentEntry* pDocumentEntry = static_cast<DocumentEntry*>(pParentEntry->GetUserData()); if (pDocumentEntry) aDocument = pDocumentEntry->GetDocument(); } |