Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
6759faa1
Kaydet (Commit)
6759faa1
authored
Şub 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool -> bool fixup
Change-Id: Id1d838fe4316bbc0e1137d395bb15db3585aed84
üst
6891ed67
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
7 deletions
+11
-7
JStatement.cxx
connectivity/source/drivers/jdbc/JStatement.cxx
+2
-2
Object.cxx
connectivity/source/drivers/jdbc/Object.cxx
+2
-2
PreparedStatement.cxx
connectivity/source/drivers/jdbc/PreparedStatement.cxx
+1
-1
Object.hxx
connectivity/source/inc/java/lang/Object.hxx
+1
-1
JStatement.hxx
connectivity/source/inc/java/sql/JStatement.hxx
+1
-1
basicio.hxx
include/comphelper/basicio.hxx
+3
-0
logging.hxx
include/comphelper/logging.hxx
+1
-0
No files found.
connectivity/source/drivers/jdbc/JStatement.cxx
Dosyayı görüntüle @
6759faa1
...
@@ -501,11 +501,11 @@ void java_sql_Statement_Base::setQueryTimeOut(sal_Int32 _par0) throw(SQLExceptio
...
@@ -501,11 +501,11 @@ void java_sql_Statement_Base::setQueryTimeOut(sal_Int32 _par0) throw(SQLExceptio
}
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
void
java_sql_Statement_Base
::
setEscapeProcessing
(
sal_B
ool
_par0
)
throw
(
SQLException
,
RuntimeException
)
void
java_sql_Statement_Base
::
setEscapeProcessing
(
b
ool
_par0
)
throw
(
SQLException
,
RuntimeException
)
{
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
checkDisposed
(
java_sql_Statement_BASE
::
rBHelper
.
bDisposed
);
checkDisposed
(
java_sql_Statement_BASE
::
rBHelper
.
bDisposed
);
m_aLogger
.
log
(
LogLevel
::
FINE
,
STR_LOG_SET_ESCAPE_PROCESSING
,
(
bool
)
_par0
);
m_aLogger
.
log
(
LogLevel
::
FINE
,
STR_LOG_SET_ESCAPE_PROCESSING
,
_par0
);
SDBThreadAttach
t
;
OSL_ENSURE
(
t
.
pEnv
,
"Java Enviroment geloescht worden!"
);
SDBThreadAttach
t
;
OSL_ENSURE
(
t
.
pEnv
,
"Java Enviroment geloescht worden!"
);
m_bEscapeProcessing
=
_par0
;
m_bEscapeProcessing
=
_par0
;
...
...
connectivity/source/drivers/jdbc/Object.cxx
Dosyayı görüntüle @
6759faa1
...
@@ -315,13 +315,13 @@ void java_lang_Object::callVoidMethodWithIntArg( const char* _pMethodName, jmeth
...
@@ -315,13 +315,13 @@ void java_lang_Object::callVoidMethodWithIntArg( const char* _pMethodName, jmeth
ThrowSQLException
(
t
.
pEnv
,
NULL
);
ThrowSQLException
(
t
.
pEnv
,
NULL
);
}
}
// -------------------------------------------------------------------------
// -------------------------------------------------------------------------
void
java_lang_Object
::
callVoidMethodWithBoolArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
,
bool
_bIgnoreException
)
const
void
java_lang_Object
::
callVoidMethodWithBoolArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
bool
_nArgument
,
bool
_bIgnoreException
)
const
{
{
SDBThreadAttach
t
;
SDBThreadAttach
t
;
OSL_ENSURE
(
t
.
pEnv
,
"java_lang_Object::callIntMethod: no Java enviroment anymore!"
);
OSL_ENSURE
(
t
.
pEnv
,
"java_lang_Object::callIntMethod: no Java enviroment anymore!"
);
obtainMethodId
(
t
.
pEnv
,
_pMethodName
,
"(Z)V"
,
_inout_MethodID
);
obtainMethodId
(
t
.
pEnv
,
_pMethodName
,
"(Z)V"
,
_inout_MethodID
);
// call method
// call method
t
.
pEnv
->
CallVoidMethod
(
object
,
_inout_MethodID
,
_nArgument
);
t
.
pEnv
->
CallVoidMethod
(
object
,
_inout_MethodID
,
int
(
_nArgument
)
);
if
(
_bIgnoreException
)
if
(
_bIgnoreException
)
isExceptionOccurred
(
t
.
pEnv
,
sal_True
);
isExceptionOccurred
(
t
.
pEnv
,
sal_True
);
else
else
...
...
connectivity/source/drivers/jdbc/PreparedStatement.cxx
Dosyayı görüntüle @
6759faa1
...
@@ -161,7 +161,7 @@ void SAL_CALL java_sql_PreparedStatement::setString( sal_Int32 parameterIndex, c
...
@@ -161,7 +161,7 @@ void SAL_CALL java_sql_PreparedStatement::setString( sal_Int32 parameterIndex, c
void
SAL_CALL
java_sql_PreparedStatement
::
setBoolean
(
sal_Int32
parameterIndex
,
sal_Bool
x
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
void
SAL_CALL
java_sql_PreparedStatement
::
setBoolean
(
sal_Int32
parameterIndex
,
sal_Bool
x
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
m_aLogger
.
log
(
LogLevel
::
FINER
,
STR_LOG_BOOLEAN_PARAMETER
,
parameterIndex
,
(
bool
)
x
);
m_aLogger
.
log
(
LogLevel
::
FINER
,
STR_LOG_BOOLEAN_PARAMETER
,
parameterIndex
,
bool
(
x
)
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
checkDisposed
(
java_sql_Statement_BASE
::
rBHelper
.
bDisposed
);
checkDisposed
(
java_sql_Statement_BASE
::
rBHelper
.
bDisposed
);
...
...
connectivity/source/inc/java/lang/Object.hxx
Dosyayı görüntüle @
6759faa1
...
@@ -121,7 +121,7 @@ namespace connectivity
...
@@ -121,7 +121,7 @@ namespace connectivity
OUString
callStringMethodWithIntArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
)
const
;
OUString
callStringMethodWithIntArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
)
const
;
void
callVoidMethod
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
)
const
;
void
callVoidMethod
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
)
const
;
void
callVoidMethodWithIntArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
,
bool
_bIgnoreException
=
false
)
const
;
void
callVoidMethodWithIntArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
,
bool
_bIgnoreException
=
false
)
const
;
void
callVoidMethodWithBoolArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
,
bool
_bIgnoreException
=
false
)
const
;
void
callVoidMethodWithBoolArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
bool
_nArgument
,
bool
_bIgnoreException
=
false
)
const
;
void
callVoidMethodWithStringArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
const
OUString
&
_nArgument
)
const
;
void
callVoidMethodWithStringArg
(
const
char
*
_pMethodName
,
jmethodID
&
_inout_MethodID
,
const
OUString
&
_nArgument
)
const
;
jobject
callObjectMethod
(
JNIEnv
*
pEnv
,
const
char
*
_pMethodName
,
const
char
*
_pSignature
,
jmethodID
&
_inout_MethodID
)
const
;
jobject
callObjectMethod
(
JNIEnv
*
pEnv
,
const
char
*
_pMethodName
,
const
char
*
_pSignature
,
jmethodID
&
_inout_MethodID
)
const
;
jobject
callObjectMethodWithIntArg
(
JNIEnv
*
pEnv
,
const
char
*
_pMethodName
,
const
char
*
_pSignature
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
)
const
;
jobject
callObjectMethodWithIntArg
(
JNIEnv
*
pEnv
,
const
char
*
_pMethodName
,
const
char
*
_pSignature
,
jmethodID
&
_inout_MethodID
,
sal_Int32
_nArgument
)
const
;
...
...
connectivity/source/inc/java/sql/JStatement.hxx
Dosyayı görüntüle @
6759faa1
...
@@ -77,7 +77,7 @@ namespace connectivity
...
@@ -77,7 +77,7 @@ namespace connectivity
void
setFetchDirection
(
sal_Int32
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setFetchDirection
(
sal_Int32
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setFetchSize
(
sal_Int32
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setFetchSize
(
sal_Int32
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setCursorName
(
const
OUString
&
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setCursorName
(
const
OUString
&
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setEscapeProcessing
(
sal_B
ool
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
setEscapeProcessing
(
b
ool
_par0
)
throw
(
::
com
::
sun
::
star
::
sdbc
::
SQLException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
protected
:
protected
:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XStatement
>
m_xGeneratedStatement
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XStatement
>
m_xGeneratedStatement
;
...
...
include/comphelper/basicio.hxx
Dosyayı görüntüle @
6759faa1
...
@@ -36,6 +36,9 @@ namespace starawt = ::com::sun::star::awt;
...
@@ -36,6 +36,9 @@ namespace starawt = ::com::sun::star::awt;
// bool
// bool
COMPHELPER_DLLPUBLIC
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
_rxInStream
,
bool
&
_rVal
);
COMPHELPER_DLLPUBLIC
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
_rxInStream
,
bool
&
_rVal
);
COMPHELPER_DLLPUBLIC
const
staruno
::
Reference
<
stario
::
XObjectOutputStream
>&
operator
<<
(
const
staruno
::
Reference
<
stario
::
XObjectOutputStream
>&
_rxOutStream
,
bool
_bVal
);
COMPHELPER_DLLPUBLIC
const
staruno
::
Reference
<
stario
::
XObjectOutputStream
>&
operator
<<
(
const
staruno
::
Reference
<
stario
::
XObjectOutputStream
>&
_rxOutStream
,
bool
_bVal
);
void
operator
<<
(
css
::
uno
::
Reference
<
css
::
io
::
XObjectOutputStream
>
const
&
,
sal_Bool
)
SAL_DELETED_FUNCTION
;
// OUString
// OUString
COMPHELPER_DLLPUBLIC
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
_rxInStream
,
OUString
&
_rStr
);
COMPHELPER_DLLPUBLIC
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
staruno
::
Reference
<
stario
::
XObjectInputStream
>&
_rxInStream
,
OUString
&
_rStr
);
...
...
include/comphelper/logging.hxx
Dosyayı görüntüle @
6759faa1
...
@@ -58,6 +58,7 @@ namespace comphelper
...
@@ -58,6 +58,7 @@ namespace comphelper
inline
OUString
convertLogArgToString
(
sal_Int16
_nValue
)
{
return
OUString
::
number
(
_nValue
);
}
inline
OUString
convertLogArgToString
(
sal_Int16
_nValue
)
{
return
OUString
::
number
(
_nValue
);
}
inline
OUString
convertLogArgToString
(
sal_Unicode
_nValue
)
{
return
OUString
(
_nValue
);
}
inline
OUString
convertLogArgToString
(
sal_Unicode
_nValue
)
{
return
OUString
(
_nValue
);
}
inline
OUString
convertLogArgToString
(
bool
_bValue
)
{
return
OUString
::
boolean
(
_bValue
);
}
inline
OUString
convertLogArgToString
(
bool
_bValue
)
{
return
OUString
::
boolean
(
_bValue
);
}
void
convertLogArgToString
(
sal_Bool
)
SAL_DELETED_FUNCTION
;
}
}
// namespace log::convert
}
}
// namespace log::convert
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment