Fix compilation error

Avoid temporary variable that was moved from a nested block in
previous commit, but had the same name as a variable alredy existing
in this block.
This commit is contained in:
Tor Lillqvist 2011-04-29 11:37:32 +03:00
parent 5e259ad384
commit cca12f114e

View file

@ -1821,8 +1821,7 @@ void SAL_CALL OleEmbeddedObject::storeOwn()
throw io::IOException(); //TODO: access denied
// TODO: does this work for links too?
uno::Reference< io::XOutputStream > xOutStream = GetStreamForSaving();
StoreObjectToStream( xOutStream );
StoreObjectToStream( GetStreamForSaving() );
// the replacement is changed probably, and it must be in the object stream
if ( !m_pOleComponent->IsWorkaroundActive() )