diff options
Diffstat (limited to 'sc/source/ui/pagedlg/tphf.cxx')
-rw-r--r-- | sc/source/ui/pagedlg/tphf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/tphf.cxx b/sc/source/ui/pagedlg/tphf.cxx index b8bb332aeee4..716e5238debd 100644 --- a/sc/source/ui/pagedlg/tphf.cxx +++ b/sc/source/ui/pagedlg/tphf.cxx @@ -54,7 +54,7 @@ ScHFPage::ScHFPage( vcl::Window* pParent, const SfxItemSet& rSet, sal_uInt16 nSe SetExchangeSupport(); SfxViewShell* pSh = SfxViewShell::Current(); - ScTabViewShell* pViewSh = PTR_CAST(ScTabViewShell,pSh); + ScTabViewShell* pViewSh = dynamic_cast< ScTabViewShell *>( pSh ); m_pBtnEdit->Show(); aDataSet.Put( rSet ); |