summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appopen.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-15 23:07:57 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-15 23:07:57 +0100
commitec2e4641809e938a8a4ead64cd3732d709e43fdf (patch)
treee59f531b1b81ad034f8df7a91e40cd78c58362af /sfx2/source/appl/appopen.cxx
parentd56d052f7835c07b594c74f72ce47e8fc4462f39 (diff)
autorecovery: SfxViewFrame's SfxFrame is a reference now, no pointer (it can never be NULL)
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r--sfx2/source/appl/appopen.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 9ad9545d15..a4cd3fc62e 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -1135,7 +1135,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
}
if ( !pTargetFrame && !xTargetFrame.is() && SfxViewFrame::Current() )
- pTargetFrame = SfxViewFrame::Current()->GetFrame();
+ pTargetFrame = &SfxViewFrame::Current()->GetFrame();
// check if caller has set a callback
SFX_REQUEST_ARG(rReq, pLinkItem, SfxLinkItem, SID_DONELINK, FALSE );
@@ -1324,7 +1324,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
{
if ( pShell->GetController() == xController )
{
- pCntrFrame = pShell->GetViewFrame()->GetFrame();
+ pCntrFrame = &pShell->GetViewFrame()->GetFrame();
break;
}
}