diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-02 13:37:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-03 15:20:04 +0200 |
commit | a28e7f7aa995f8c2c9e4eda332c30853338c7ae9 (patch) | |
tree | 06c5b8defd421e567dcbb1fde5eb91aae1438125 /dbaccess/source/ui/misc/WCopyTable.cxx | |
parent | 0abf268f3893ecc716088aa399e81a1ef31e13d2 (diff) |
loplugin: cstylecast
Change-Id: Ie478d1fcfd3b64d7a2128887c216b5e0b4501ab9
Diffstat (limited to 'dbaccess/source/ui/misc/WCopyTable.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/WCopyTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 505ef7793602..9fc6725774fe 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -937,7 +937,7 @@ void OCopyTableWizard::setCreatePrimaryKey( bool _bDoCreate, const OUString& _rS IMPL_LINK_NOARG(OCopyTableWizard, ImplActivateHdl) { - OWizardPage* pCurrent = (OWizardPage*)GetPage(GetCurLevel()); + OWizardPage* pCurrent = static_cast<OWizardPage*>(GetPage(GetCurLevel())); if(pCurrent) { bool bFirstTime = pCurrent->IsFirstTime(); @@ -991,7 +991,7 @@ void OCopyTableWizard::EnableButton(Wizard_Button_Style eStyle, bool bEnable) long OCopyTableWizard::DeactivatePage() { - OWizardPage* pPage = (OWizardPage*)GetPage(GetCurLevel()); + OWizardPage* pPage = static_cast<OWizardPage*>(GetPage(GetCurLevel())); return pPage ? pPage->LeavePage() : sal_False; } |