diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-04-14 10:26:31 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-04-14 10:26:31 +0200 |
commit | dbb0cfc25df81ef3b7aa5fa6731e73e31d43fc4f (patch) | |
tree | 2a23b86a03b6ce46f4ceb96b1405292852d2e6a9 /sw/source/ui/uiview/viewling.cxx | |
parent | b128939805b6b1598c9d8776c0bbef4dfca27f52 (diff) | |
parent | 69fdfa4f91c220902592c26fa9f58ae8c1033176 (diff) |
cws tl74: merge with DEV300 m76
Diffstat (limited to 'sw/source/ui/uiview/viewling.cxx')
-rwxr-xr-x | sw/source/ui/uiview/viewling.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx index c51e12b165..25daf5609a 100755 --- a/sw/source/ui/uiview/viewling.cxx +++ b/sw/source/ui/uiview/viewling.cxx @@ -776,10 +776,9 @@ sal_Bool SwView::ExecSpellPopup(const Point& rPt) else { SfxViewFrame *pSfxViewFrame = GetViewFrame(); - SfxFrame *pSfxFrame = pSfxViewFrame? pSfxViewFrame->GetFrame() : 0; uno::Reference< frame::XFrame > xFrame; - if (pSfxFrame) - xFrame = pSfxFrame->GetFrameInterface(); + if ( pSfxViewFrame ) + xFrame = pSfxViewFrame->GetFrame().GetFrameInterface(); com::sun::star::util::URL aURL; uno::Reference< frame::XDispatchProvider > xDispatchProvider( xFrame, UNO_QUERY ); uno::Reference< lang::XMultiServiceFactory > xMgr( utl::getProcessServiceFactory(), uno::UNO_QUERY ); |