impress193: #i112647# Integrated diff from MAV.
This commit is contained in:
parent
34dd33af79
commit
b6e30719dd
1 changed files with 1 additions and 4 deletions
|
@ -280,10 +280,7 @@ SfxFrame* SfxFrame::Create( SfxObjectShell& rDoc, Window& rWindow, USHORT nViewI
|
|||
aLoadArgs = aArgs.getPropertyValues();
|
||||
|
||||
// load the doc into that frame
|
||||
::rtl::OUString sLoaderURL( rDoc.GetModel()->getURL() );
|
||||
if ( sLoaderURL.getLength() == 0 )
|
||||
sLoaderURL = rDoc.GetFactory().GetFactoryURL();
|
||||
|
||||
::rtl::OUString sLoaderURL( RTL_CONSTASCII_USTRINGPARAM( "private:object" ) );
|
||||
Reference< XComponentLoader > xLoader( xFrame, UNO_QUERY_THROW );
|
||||
xLoader->loadComponentFromURL(
|
||||
sLoaderURL,
|
||||
|
|
Loading…
Reference in a new issue