summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/JDriver.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:15:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:37 +0200
commit15e410e5afac989e423d6ce158ef65288c67ee7b (patch)
tree5c56e8b7b90b51b86b1f5ccbda0bf3c63533ae71 /connectivity/source/drivers/jdbc/JDriver.cxx
parentf555ab4e96a3d796c67cbec1c948cb920ebb3750 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I6fada7331ee369c35cbe019db4e730ce56cd1a1f
Diffstat (limited to 'connectivity/source/drivers/jdbc/JDriver.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/JDriver.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/connectivity/source/drivers/jdbc/JDriver.cxx b/connectivity/source/drivers/jdbc/JDriver.cxx
index ee6175379375..8c6db0423355 100644
--- a/connectivity/source/drivers/jdbc/JDriver.cxx
+++ b/connectivity/source/drivers/jdbc/JDriver.cxx
@@ -108,7 +108,7 @@ sal_Bool SAL_CALL java_sql_Driver::acceptsURL( const OUString& url ) throw(SQLEx
{
// don't ask the real driver for the url
// I feel responsible for all jdbc url's
- sal_Bool bEnabled = sal_False;
+ sal_Bool bEnabled = false;
javaFrameworkError e = jfw_getEnabled(&bEnabled);
switch (e) {
case JFW_E_NONE:
@@ -140,91 +140,91 @@ Sequence< DriverPropertyInfo > SAL_CALL java_sql_Driver::getPropertyInfo( const
aDriverInfo.push_back(DriverPropertyInfo(
OUString("JavaDriverClass")
,OUString("The JDBC driver class name.")
- ,sal_True
+ ,true
,OUString()
,Sequence< OUString >())
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("JavaDriverClassPath")
,OUString("The class path where to look for the JDBC driver.")
- ,sal_True
+ ,true
,OUString( "" )
,Sequence< OUString >())
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("SystemProperties")
,OUString("Additional properties to set at java.lang.System before loading the driver.")
- ,sal_True
+ ,true
,OUString( "" )
,Sequence< OUString >())
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("ParameterNameSubstitution")
,OUString("Change named parameters with '?'.")
- ,sal_False
+ ,false
,OUString( "false" )
,aBooleanValues)
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("IgnoreDriverPrivileges")
,OUString("Ignore the privileges from the database driver.")
- ,sal_False
+ ,false
,OUString( "false" )
,aBooleanValues)
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("IsAutoRetrievingEnabled")
,OUString("Retrieve generated values.")
- ,sal_False
+ ,false
,OUString( "false" )
,aBooleanValues)
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("AutoRetrievingStatement")
,OUString("Auto-increment statement.")
- ,sal_False
+ ,false
,OUString()
,Sequence< OUString >())
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("GenerateASBeforeCorrelationName")
,OUString("Generate AS before table correlation names.")
- ,sal_False
+ ,false
,OUString( "false" )
,aBooleanValues)
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("IgnoreCurrency")
,OUString("Ignore the currency field from the ResultsetMetaData.")
- ,sal_False
+ ,false
,OUString( "false" )
,aBooleanValues)
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("EscapeDateTime")
,OUString("Escape date time format.")
- ,sal_False
+ ,false
,OUString( "true" )
,aBooleanValues)
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("TypeInfoSettings")
,OUString("Defines how the type info of the database metadata should be manipulated.")
- ,sal_False
+ ,false
,OUString( )
,Sequence< OUString > ())
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("ImplicitCatalogRestriction")
,OUString("The catalog which should be used in getTables calls, when the caller passed NULL.")
- ,sal_False
+ ,false
,OUString( )
,Sequence< OUString > ())
);
aDriverInfo.push_back(DriverPropertyInfo(
OUString("ImplicitSchemaRestriction")
,OUString("The schema which should be used in getTables calls, when the caller passed NULL.")
- ,sal_False
+ ,false
,OUString( )
,Sequence< OUString > ())
);