diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-02 23:14:40 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-02 23:17:30 -0500 |
commit | 8093e86ebea285955a5ae65086d5c384bbc8c0b6 (patch) | |
tree | 786d75b3d6a71a4717c12ffe7fc87bfdfb93a530 /sw/source/ui/vba/vbawindow.cxx | |
parent | f20043a0805c3a75eb4024ed59f45291aea93ac0 (diff) |
Revert "loplugin: cstylecast"
This reverts commit 8dba4716d2e7fcaf00cc347d4989c24539ea0fe6.
<:: is not a legal syntax at least with gcc 4.7.
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 54fd8f27eed7..232a00f270ec 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 = static_cast<WorkWindow*>( pViewFrame->GetFrame().GetSystemWindow() ); + WorkWindow* pWork = (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 = static_cast<WorkWindow*>( pViewFrame->GetFrame().GetSystemWindow() ); + WorkWindow* pWork = (WorkWindow*) pViewFrame->GetFrame().GetSystemWindow(); if ( pWork ) { if ( nwindowState == word::WdWindowState::wdWindowStateMaximize ) |