Correct indentation of try block
Change-Id: I32ca961ebb4393e483bab12a6c69ab4c2016cc3f
This commit is contained in:
@@ -2200,7 +2200,8 @@ bool SfxObjectShell::ImportFrom(SfxMedium& rMedium,
|
|||||||
if ( xLoader.is() )
|
if ( xLoader.is() )
|
||||||
{
|
{
|
||||||
// it happens that xLoader does not support xImporter!
|
// it happens that xLoader does not support xImporter!
|
||||||
try{
|
try
|
||||||
|
{
|
||||||
uno::Reference< lang::XComponent > xComp( GetModel(), uno::UNO_QUERY_THROW );
|
uno::Reference< lang::XComponent > xComp( GetModel(), uno::UNO_QUERY_THROW );
|
||||||
uno::Reference< document::XImporter > xImporter( xLoader, uno::UNO_QUERY_THROW );
|
uno::Reference< document::XImporter > xImporter( xLoader, uno::UNO_QUERY_THROW );
|
||||||
xImporter->setTargetDocument( xComp );
|
xImporter->setTargetDocument( xComp );
|
||||||
|
Reference in New Issue
Block a user