From 2b781a36989eae2d839a5a0d39e8c7b401d459b4 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 28 Aug 2008 05:51:07 +0000 Subject: INTEGRATION: CWS dba30i_DEV300 (1.3.68); FILE MERGED 2008/08/25 11:37:47 fs 1.3.68.1: #i93053# proper implementation of is() --- connectivity/inc/connectivity/sqlerror.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity/inc') diff --git a/connectivity/inc/connectivity/sqlerror.hxx b/connectivity/inc/connectivity/sqlerror.hxx index 30002c0d9c..b0f2b0050c 100644 --- a/connectivity/inc/connectivity/sqlerror.hxx +++ b/connectivity/inc/connectivity/sqlerror.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sqlerror.hxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -89,7 +89,7 @@ namespace connectivity ParamValue( ::rtl::OUString const& val ) : base_type( val ) { } ParamValue( ParamValue const& rhs ) : base_type( (base_type const&)rhs ) { } - bool is() const { return base_type::get() != NULL; } + bool is() const { return !base_type::operator!(); } }; -- cgit v1.2.3