Kaydet (Commit) d27e4007 authored tarafından Mike Kaganski's avatar Mike Kaganski

Remove redundant variable

Change-Id: Iee6a7ade18d69655d99ab0d0eaed84cbb72e9128
Reviewed-on: https://gerrit.libreoffice.org/57209
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst bf34c041
...@@ -3108,8 +3108,6 @@ bool SfxObjectShell::SaveChildren( bool bObjectsOnly ) ...@@ -3108,8 +3108,6 @@ bool SfxObjectShell::SaveChildren( bool bObjectsOnly )
bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium ) bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
{ {
bool bResult = true;
uno::Reference < embed::XStorage > xStorage = rMedium.GetStorage(); uno::Reference < embed::XStorage > xStorage = rMedium.GetStorage();
if ( !xStorage.is() ) if ( !xStorage.is() )
return false; return false;
...@@ -3123,10 +3121,7 @@ bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium ) ...@@ -3123,10 +3121,7 @@ bool SfxObjectShell::SaveAsChildren( SfxMedium& rMedium )
GetEmbeddedObjectContainer().StoreAsChildren(bOasis,SfxObjectCreateMode::EMBEDDED == eCreateMode,xStorage); GetEmbeddedObjectContainer().StoreAsChildren(bOasis,SfxObjectCreateMode::EMBEDDED == eCreateMode,xStorage);
} }
if ( bResult ) return CopyStoragesOfUnknownMediaType(GetStorage(), xStorage);
bResult = CopyStoragesOfUnknownMediaType( GetStorage(), xStorage );
return bResult;
} }
bool SfxObjectShell::SaveCompletedChildren() bool SfxObjectShell::SaveCompletedChildren()
......
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