Kaydet (Commit) cca12f11 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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.
üst 5e259ad3
......@@ -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() )
......
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