Kaydet (Commit) ae197be5 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

I'll agree with the comment, and remove this line.

Change-Id: Ieff30d8df8128488910b75603d2499102b529c3b
üst 2aebeb74
...@@ -525,12 +525,6 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA ...@@ -525,12 +525,6 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA
if ( !aDescriptor.has( "Referer" ) ) if ( !aDescriptor.has( "Referer" ) )
aDescriptor.put( "Referer", ::rtl::OUString() ); 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? // did the caller already pass a model?
Reference< XModel2 > xModel = aDescriptor.getOrDefault( "Model", Reference< XModel2 >() ); Reference< XModel2 > xModel = aDescriptor.getOrDefault( "Model", Reference< XModel2 >() );
const bool bExternalModel = xModel.is(); const bool bExternalModel = xModel.is();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment