[Libreoffice-commits] core.git: include/vcl
Michael Meeks
michael.meeks at collabora.com
Fri May 8 14:44:22 PDT 2015
include/vcl/outdev.hxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9a744dea1dccb73d77e38ed06d1275f00425a65b
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Fri May 8 22:15:07 2015 +0100
vclptr: assert that we have a >0 ref-count in acquire as well.
Change-Id: Ia2286661a8f62e8a46c44c390ab1a8a5dffe81d0
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 66bcccb..a5673ea 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -274,6 +274,7 @@ private:
inline void acquire() const
{
+ assert(mnRefCnt>0);
mnRefCnt++;
}
More information about the Libreoffice-commits
mailing list