impress193: #i112647# Integrated diff from MAV.
This commit is contained in:
@@ -280,10 +280,7 @@ SfxFrame* SfxFrame::Create( SfxObjectShell& rDoc, Window& rWindow, USHORT nViewI
|
|||||||
aLoadArgs = aArgs.getPropertyValues();
|
aLoadArgs = aArgs.getPropertyValues();
|
||||||
|
|
||||||
// load the doc into that frame
|
// load the doc into that frame
|
||||||
::rtl::OUString sLoaderURL( rDoc.GetModel()->getURL() );
|
::rtl::OUString sLoaderURL( RTL_CONSTASCII_USTRINGPARAM( "private:object" ) );
|
||||||
if ( sLoaderURL.getLength() == 0 )
|
|
||||||
sLoaderURL = rDoc.GetFactory().GetFactoryURL();
|
|
||||||
|
|
||||||
Reference< XComponentLoader > xLoader( xFrame, UNO_QUERY_THROW );
|
Reference< XComponentLoader > xLoader( xFrame, UNO_QUERY_THROW );
|
||||||
xLoader->loadComponentFromURL(
|
xLoader->loadComponentFromURL(
|
||||||
sLoaderURL,
|
sLoaderURL,
|
||||||
|
Reference in New Issue
Block a user