summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-08-31 12:06:52 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-09-07 09:10:37 -0400
commitae197be590cd06bff282bffce1ef77ff83087d39 (patch)
treeea493be1cb735ab4a02b3df8f86958f3a14f602d /sfx2
parent2aebeb74a76499f078c7d21ea2d202d8b82caa0e (diff)
I'll agree with the comment, and remove this line.
Change-Id: Ieff30d8df8128488910b75603d2499102b529c3b
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/frmload.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx
index e213986706dd..11ed90eff262 100644
--- a/sfx2/source/view/frmload.cxx
+++ b/sfx2/source/view/frmload.cxx
@@ -525,12 +525,6 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA
if ( !aDescriptor.has( "Referer" ) )
aDescriptor.put( "Referer", ::rtl::OUString() );
- // TODO: is this needed? finally, when loading is successfull, then there should be no need for this item,
- // as the document can always obtain its frame. In particular, there might be situations where this frame
- // is accessed, but already disposed: Imagine the user loading a document, opening a second view on it, and
- // then closing the first view/frame.
- aDescriptor.put( "Frame", _rTargetFrame );
-
// did the caller already pass a model?
Reference< XModel2 > xModel = aDescriptor.getOrDefault( "Model", Reference< XModel2 >() );
const bool bExternalModel = xModel.is();