[Libreoffice-commits] .: embeddedobj/source
Tor Lillqvist
tml at kemper.freedesktop.org
Fri Apr 29 01:48:37 PDT 2011
embeddedobj/source/msole/olepersist.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 46a54aca6fbd9d37fe60f07eb32f85c85f0dd58c
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Fri Apr 29 11:37:32 2011 +0300
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.
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index f9abfc2..3919331 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -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() )
More information about the Libreoffice-commits
mailing list