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 | d2561bc9f5bfd3f6ba8b81b349c3cba7538f1746 (patch) | |
tree | c12ceb174af2d9b44a4583c8b1cb748e0f1c1437 /sw/source/ui/uiview/viewling.cxx | |
parent | 287ea4442ba39f5144b9f44bc4f595e17c7a6abe (diff) | |
parent | c84af0cedc1c407d5e1a92fe172e134c08b130f6 (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 97d76c1608c3..b3f73f7c38e4 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 ); |