Remove redundant variable
Change-Id: Iee6a7ade18d69655d99ab0d0eaed84cbb72e9128
Reviewed-on: https://gerrit.libreoffice.org/57209
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index f64a98a..98435a90 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -3108,8 +3108,6 @@ bool SfxObjectShell::SaveChildren( bool bObjectsOnly )
bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
{
bool bResult = true;
uno::Reference < embed::XStorage > xStorage = rMedium.GetStorage();
if ( !xStorage.is() )
return false;
@@ -3123,10 +3121,7 @@ bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
GetEmbeddedObjectContainer().StoreAsChildren(bOasis,SfxObjectCreateMode::EMBEDDED == eCreateMode,xStorage);
}
if ( bResult )
bResult = CopyStoragesOfUnknownMediaType( GetStorage(), xStorage );
return bResult;
return CopyStoragesOfUnknownMediaType(GetStorage(), xStorage);
}
bool SfxObjectShell::SaveCompletedChildren()