diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-04 09:07:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-04 11:15:54 +0200 |
commit | 64a70d8cf56b4a9c1b6bdf920f71cc49c3a2240e (patch) | |
tree | f11ccdc0a9a97969c76b081da5d6abf5d148e3b0 /sw/source/ui/vba/vbawindow.cxx | |
parent | 1c1c515e01c93c478a00e7a840b733380406a366 (diff) |
loplugin: cstylecast
Change-Id: Id61218433add142e109bfc858549b8d2d8d1c28f
Diffstat (limited to 'sw/source/ui/vba/vbawindow.cxx')
-rw-r--r-- | sw/source/ui/vba/vbawindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbawindow.cxx b/sw/source/ui/vba/vbawindow.cxx index 232a00f270ec..54fd8f27eed7 100644 --- a/sw/source/ui/vba/vbawindow.cxx +++ b/sw/source/ui/vba/vbawindow.cxx @@ -80,7 +80,7 @@ SwVbaWindow::getWindowState() throw (uno::RuntimeException, std::exception) sal_Int32 nwindowState = word::WdWindowState::wdWindowStateNormal; SwView* pView = word::getView( m_xModel ); SfxViewFrame* pViewFrame = pView -> GetViewFrame(); - WorkWindow* pWork = (WorkWindow*) pViewFrame->GetFrame().GetSystemWindow(); + WorkWindow* pWork = static_cast<WorkWindow*>( pViewFrame->GetFrame().GetSystemWindow() ); if ( pWork ) { if ( pWork -> IsMaximized()) @@ -98,7 +98,7 @@ SwVbaWindow::setWindowState( const uno::Any& _windowstate ) throw (uno::RuntimeE _windowstate >>= nwindowState; SwView* pView = word::getView( m_xModel ); SfxViewFrame* pViewFrame = pView -> GetViewFrame(); - WorkWindow* pWork = (WorkWindow*) pViewFrame->GetFrame().GetSystemWindow(); + WorkWindow* pWork = static_cast<WorkWindow*>( pViewFrame->GetFrame().GetSystemWindow() ); if ( pWork ) { if ( nwindowState == word::WdWindowState::wdWindowStateMaximize ) |