summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/CommonTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/CommonTools.cxx')
-rw-r--r--connectivity/source/commontools/CommonTools.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index fd0da2f093e5..2d3368fec703 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ namespace connectivity
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace dbtools;
- namespace starjava = com::sun::star::java;
+ namespace starjava = com::sun::star::java;
//------------------------------------------------------------------------------
const sal_Unicode CHAR_PLACE = '_';
const sal_Unicode CHAR_WILD = '%';
@@ -280,7 +280,7 @@ namespace connectivity
if ( _pJVM.is() )
{
jvmaccess::VirtualMachine::AttachGuard aGuard(_pJVM);
- JNIEnv* pEnv = aGuard.getEnvironment();
+ JNIEnv* pEnv = aGuard.getEnvironment();
if( pEnv )
{
::rtl::OString sClassName = ::rtl::OUStringToOString(_sClassName, RTL_TEXTENCODING_ASCII_US);
@@ -296,7 +296,7 @@ namespace connectivity
}
-#include <ctype.h> //isdigit
+#include <ctype.h> //isdigit
namespace dbtools
{
//------------------------------------------------------------------
@@ -320,10 +320,10 @@ sal_Bool isValidSQLName(const ::rtl::OUString& rName,const ::rtl::OUString& _rSp
if(!isCharOk(*pStr,_rSpecials))
return sal_False;
- if ( rName.getLength()
- && ( (rName.toChar() == '_')
- || ( (rName.toChar() >= '0')
- && (rName.toChar() <= '9')
+ if ( rName.getLength()
+ && ( (rName.toChar() == '_')
+ || ( (rName.toChar() >= '0')
+ && (rName.toChar() <= '9')
)
)
)