diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-12-15 23:07:57 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-12-15 23:07:57 +0100 |
commit | ec2e4641809e938a8a4ead64cd3732d709e43fdf (patch) | |
tree | e59f531b1b81ad034f8df7a91e40cd78c58362af /sfx2/source/appl/appopen.cxx | |
parent | d56d052f7835c07b594c74f72ce47e8fc4462f39 (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.cxx | 4 |
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; } } |