include/connectivity/FValue.hxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 047d9818dd77046ae4de266f5f5fed221ecf0557 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Mar 23 10:17:35 2015 +0100 Catch accidental mis-conversions from pointer to bool Change-Id: I3f6ec3bd951d45b973880be1ae19e167c5e99d20 diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx index db1b289..2408eaf 100644 --- a/include/connectivity/FValue.hxx +++ b/include/connectivity/FValue.hxx @@ -268,6 +268,9 @@ namespace connectivity operator=(_rRH); } + // Avoid accidental uses of ORowSetValue(bool const &): + template<typename T> ORowSetValue(T const *) = delete; + ~ORowSetValue() { free(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits