connectivity/source/inc/ado/Aolewrap.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit ac2cfed553b8c9303f86758e9fe8b70911db00cd Author: David Ostrovsky <da...@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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits