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:
parent
5e259ad384
commit
cca12f114e
1 changed files with 1 additions and 2 deletions
|
@ -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() )
|
||||
|
|
Loading…
Reference in a new issue