summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appchild.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-02 07:36:46 +0200
committerNoel Grandin <noel@peralex.com>2014-10-02 07:37:20 +0200
commit039b887c54fd7e8cd8a4964d1633fdfc300e938e (patch)
treef65f1ea0296ea30bccb1dc79bf1066e718bc517e /sfx2/source/appl/appchild.cxx
parent059f5a95b245252d72ea0930668bb222103dbd14 (diff)
loplugin: cstylecast
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
Diffstat (limited to 'sfx2/source/appl/appchild.cxx')
-rw-r--r--sfx2/source/appl/appchild.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appchild.cxx b/sfx2/source/appl/appchild.cxx
index 43ff5f1fbe9d..b2cbe576ea04 100644
--- a/sfx2/source/appl/appchild.cxx
+++ b/sfx2/source/appl/appchild.cxx
@@ -138,7 +138,7 @@ SfxTemplateDialog* SfxApplication::GetTemplateDialog()
if ( pAppData_Impl->pViewFrame )
{
SfxChildWindow *pChild = pAppData_Impl->pViewFrame->GetChildWindow(SfxTemplateDialogWrapper::GetChildWindowId());
- return pChild ? (SfxTemplateDialog*) pChild->GetWindow() : 0;
+ return pChild ? static_cast<SfxTemplateDialog*>(pChild->GetWindow()) : 0;
}
return NULL;