[Libreoffice-commits] .: embedserv/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 8 07:42:46 PST 2013
embedserv/source/inprocserv/inprocembobj.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a6f978e1c3a27c7045ec3be129d8d6883f021015
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 8 16:42:07 2013 +0100
Logic (only update ret if it does not indicate an error yet)
Change-Id: I717ff4de7cf406b01383f8f181b81695242a2ca8
diff --git a/embedserv/source/inprocserv/inprocembobj.cxx b/embedserv/source/inprocserv/inprocembobj.cxx
index 27c28ad..536095f 100644
--- a/embedserv/source/inprocserv/inprocembobj.cxx
+++ b/embedserv/source/inprocserv/inprocembobj.cxx
@@ -785,7 +785,7 @@ STDMETHODIMP InprocEmbedDocument_Impl::Close( DWORD dwSaveOption )
if (!SUCCEEDED(hr))
ret = hr;
hr = CoDisconnectObject( (IUnknown*)(IPersistStorage*)this, 0 );
- if (!(SUCCEEDED(hr) && SUCCEEDED(ret)))
+ if (!SUCCEEDED(hr) && SUCCEEDED(ret))
ret = hr;
}
}
More information about the Libreoffice-commits
mailing list