[Libreoffice-commits] core.git: include/connectivity
Stephan Bergmann
sbergman at redhat.com
Mon Mar 23 02:19:42 PDT 2015
include/connectivity/FValue.hxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 047d9818dd77046ae4de266f5f5fed221ecf0557
Author: Stephan Bergmann <sbergman at 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();
More information about the Libreoffice-commits
mailing list