[Libreoffice-commits] .: connectivity/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 2 17:27:58 PDT 2012
connectivity/source/inc/ado/Aolewrap.hxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit ac2cfed553b8c9303f86758e9fe8b70911db00cd
Author: David Ostrovsky <david at ostrovsky.org>
Date: Sat Nov 3 01:09:35 2012 +0100
fdo#53070 fix access violation
Through that different initialization pIUnknown
got random address. The consequence was that
if (pIUnknown)
pIUnknown->Release();
ends with access viloation in
WpBase& WpBase::operator=(const WpBase& rhs)
Change-Id: I8b3c5de233d0868fea052c990cc83aed917117ae
diff --git a/connectivity/source/inc/ado/Aolewrap.hxx b/connectivity/source/inc/ado/Aolewrap.hxx
index 6f428bf..4e1debe 100644
--- a/connectivity/source/inc/ado/Aolewrap.hxx
+++ b/connectivity/source/inc/ado/Aolewrap.hxx
@@ -94,9 +94,8 @@ namespace connectivity
}
WpOLEBase(const WpOLEBase<T>& aWrapper)
- : WpBase(aWrapper)
- , pInterface(aWrapper.pInterface)
{
+ operator=(aWrapper);
}
virtual ~WpOLEBase()
More information about the Libreoffice-commits
mailing list