summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingcomp.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/dialog/backingcomp.cxx
parent059f5a95b245252d72ea0930668bb222103dbd14 (diff)
loplugin: cstylecast
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
Diffstat (limited to 'sfx2/source/dialog/backingcomp.cxx')
-rw-r--r--sfx2/source/dialog/backingcomp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index 8f5f7d712c7c..39845cad2fc1 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -402,7 +402,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f
// initialize the component and its parent window
css::uno::Reference< css::awt::XWindow > xParentWindow = xFrame->getContainerWindow();
- WorkWindow* pParent = (WorkWindow*)VCLUnoHelper::GetWindow(xParentWindow);
+ WorkWindow* pParent = static_cast<WorkWindow*>(VCLUnoHelper::GetWindow(xParentWindow));
vcl::Window* pWindow = VCLUnoHelper::GetWindow(m_xWindow);
// disable full screen mode of the frame!
@@ -799,7 +799,7 @@ void SAL_CALL BackingComp::dispatch( const css::util::URL& aURL, const css::uno:
// Recalculate minimum width
css::uno::Reference< css::awt::XWindow > xParentWindow = m_xFrame->getContainerWindow();
- WorkWindow* pParent = (WorkWindow*)VCLUnoHelper::GetWindow(xParentWindow);
+ WorkWindow* pParent = static_cast<WorkWindow*>(VCLUnoHelper::GetWindow(xParentWindow));
if( pParent )
{
pParent->SetMinOutputSizePixel( Size(