summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/java/lang
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/java/lang')
-rw-r--r--connectivity/source/inc/java/lang/Boolean.hxx6
-rw-r--r--connectivity/source/inc/java/lang/Class.hxx6
-rw-r--r--connectivity/source/inc/java/lang/Exception.hxx6
-rw-r--r--connectivity/source/inc/java/lang/Object.hxx10
-rw-r--r--connectivity/source/inc/java/lang/String.hxx6
-rw-r--r--connectivity/source/inc/java/lang/Throwable.hxx6
6 files changed, 22 insertions, 18 deletions
diff --git a/connectivity/source/inc/java/lang/Boolean.hxx b/connectivity/source/inc/java/lang/Boolean.hxx
index 35655f8c1934..6dc1e7f12d65 100644
--- a/connectivity/source/inc/java/lang/Boolean.hxx
+++ b/connectivity/source/inc/java/lang/Boolean.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36,12 +37,12 @@ namespace connectivity
class java_lang_Boolean : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Boolean();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Boolean( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
static jclass st_getMyClass();
@@ -51,3 +52,4 @@ namespace connectivity
#endif // _CONNECTIVITY_JAVA_LANG_BOOLEAN_HXX_
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/java/lang/Class.hxx b/connectivity/source/inc/java/lang/Class.hxx
index b7a7182ae202..1be4eb0ebf03 100644
--- a/connectivity/source/inc/java/lang/Class.hxx
+++ b/connectivity/source/inc/java/lang/Class.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36,12 +37,12 @@ namespace connectivity
class java_lang_Class : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the Class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Class();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Class( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
static java_lang_Class * forName( const ::rtl::OUString &_par0 );
@@ -53,3 +54,4 @@ namespace connectivity
#endif // _CONNECTIVITY_JAVA_LANG_CLASS_HXX_
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/java/lang/Exception.hxx b/connectivity/source/inc/java/lang/Exception.hxx
index 52261bfa255b..340ca00d43ac 100644
--- a/connectivity/source/inc/java/lang/Exception.hxx
+++ b/connectivity/source/inc/java/lang/Exception.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -37,15 +38,16 @@ namespace connectivity
//**************************************************************
class java_lang_Exception : public java_lang_Throwable{
protected:
- // statische Daten fuer die Klasse
+ // statis Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Exception();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Exception( JNIEnv * pEnv, jobject myObj ) : java_lang_Throwable( pEnv, myObj ){}
};
}
#endif // _CONNECTIVITY_JAVA_LANG_EXCEPTION_HXX_
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx
index c00c5e67e06d..01786287ee02 100644
--- a/connectivity/source/inc/java/lang/Object.hxx
+++ b/connectivity/source/inc/java/lang/Object.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -27,10 +28,7 @@
#ifndef _CONNECTIVITY_JAVA_LANG_OBJECT_HXX_
#define _CONNECTIVITY_JAVA_LANG_OBJECT_HXX_
-#if STLPORT_VERSION>=321
-// jni.h needs cstdarg for std::va_list
#include <cstdarg>
-#endif
#include <osl/thread.h>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -44,11 +42,6 @@
#ifdef HAVE_64BIT_POINTERS
#error "no 64 bit pointer"
-#else
-#ifdef OS2
-#define PVOID_TO_INT64(x) (jlong)(sal_Int32)x
-#define INT64_TO_PVOID(x) (void *)x
-#endif // OS2
#endif //HAVE_64BIT_POINTERS
namespace comphelper
@@ -173,3 +166,4 @@ namespace connectivity
#endif //_CONNECTIVITY_JAVA_LANG_OBJJECT_HXX_
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/java/lang/String.hxx b/connectivity/source/inc/java/lang/String.hxx
index 3e4bfd6c1399..49a6ea4407a4 100644
--- a/connectivity/source/inc/java/lang/String.hxx
+++ b/connectivity/source/inc/java/lang/String.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34,12 +35,12 @@ namespace connectivity
class java_lang_String : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // statis Data for the Class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_String();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_String( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
operator ::rtl::OUString();
@@ -51,3 +52,4 @@ namespace connectivity
#endif // _CONNECTIVITY_JAVA_LANG_STRING_HXX_
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/inc/java/lang/Throwable.hxx b/connectivity/source/inc/java/lang/Throwable.hxx
index a5823c24b1d9..b9914b71fa44 100644
--- a/connectivity/source/inc/java/lang/Throwable.hxx
+++ b/connectivity/source/inc/java/lang/Throwable.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -37,12 +38,12 @@ namespace connectivity
class java_lang_Throwable : public java_lang_Object
{
protected:
- // statische Daten fuer die Klasse
+ // static Data for the class
static jclass theClass;
public:
virtual jclass getMyClass() const;
virtual ~java_lang_Throwable();
- // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
+ // a Constructor, that is needed for when Returning the Object is needed:
java_lang_Throwable( JNIEnv * pEnv, jobject myObj ) : java_lang_Object( pEnv, myObj ){}
::rtl::OUString getMessage() const;
::rtl::OUString getLocalizedMessage() const;
@@ -52,3 +53,4 @@ namespace connectivity
}
#endif // _CONNECTIVITY_JAVA_LANG_THROWABLE_HXX_
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */