diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:24:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:24:35 +0200 |
commit | 1cb4a7554a21952a323f3e2bbf533b005daf4d00 (patch) | |
tree | c55ed5741d6c0fc6172320f768b4a6b012ec8372 /desktop/source/deployment | |
parent | 85380260003dd481b97436adb14daf08ffd897c3 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I897ebb00ce427a00f1d9b0c199d465bb0ac80309
Diffstat (limited to 'desktop/source/deployment')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index fb98cdd6bf15..2bea724819c0 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -672,7 +672,7 @@ void DialogHelper::PostUserEvent( const Link<>& rLink, void* pCaller, bool bRefe // ExtMgrDialog ExtMgrDialog::ExtMgrDialog(vcl::Window *pParent, TheExtensionManager *pManager, Dialog::InitFlag eFlag) : ModelessDialog(pParent, "ExtensionManagerDialog", "desktop/ui/extensionmanager.ui", eFlag) - , DialogHelper(pManager->getContext(), (Dialog*) this) + , DialogHelper(pManager->getContext(), static_cast<Dialog*>(this)) , m_sAddPackages(getResourceString(RID_STR_ADD_PACKAGES)) , m_bHasProgress(false) , m_bProgressChanged(false) @@ -1183,7 +1183,7 @@ bool ExtMgrDialog::Close() //UpdateRequiredDialog UpdateRequiredDialog::UpdateRequiredDialog(vcl::Window *pParent, TheExtensionManager *pManager) : ModalDialog(pParent, "UpdateRequiredDialog", "desktop/ui/updaterequireddialog.ui") - , DialogHelper(pManager->getContext(), (Dialog*) this) + , DialogHelper(pManager->getContext(), static_cast<Dialog*>(this)) , m_sAddPackages(getResourceString(RID_STR_ADD_PACKAGES)) , m_sCloseText(getResourceString(RID_STR_CLOSE_BTN)) , m_bHasProgress(false) |