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
c79fe32d
Kaydet (Commit)
c79fe32d
authored
Ock 17, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: dbaccess
Change-Id: Iaa409f0f36df63235b38bf3a02dad22ad0762a26
üst
5acebe91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
RowSet.cxx
dbaccess/source/core/api/RowSet.cxx
+1
-1
odbcconfig.cxx
dbaccess/source/ui/dlg/odbcconfig.cxx
+3
-3
No files found.
dbaccess/source/core/api/RowSet.cxx
Dosyayı görüntüle @
c79fe32d
...
@@ -2602,7 +2602,7 @@ void SAL_CALL ORowSet::setCharacterStream( sal_Int32 parameterIndex, const Refer
...
@@ -2602,7 +2602,7 @@ void SAL_CALL ORowSet::setCharacterStream( sal_Int32 parameterIndex, const Refer
// the data is given as character data and the length defines the character length
// the data is given as character data and the length defines the character length
sal_Int32
nSize
=
x
->
readBytes
(
aData
,
length
*
sizeof
(
sal_Unicode
));
sal_Int32
nSize
=
x
->
readBytes
(
aData
,
length
*
sizeof
(
sal_Unicode
));
if
(
nSize
/
sizeof
(
sal_Unicode
))
if
(
nSize
/
sizeof
(
sal_Unicode
))
aDataStr
=
OUString
(
(
sal_Unicode
*
)
aData
.
getConstArray
(
),
nSize
/
sizeof
(
sal_Unicode
));
aDataStr
=
OUString
(
reinterpret_cast
<
sal_Unicode
const
*>
(
aData
.
getConstArray
()
),
nSize
/
sizeof
(
sal_Unicode
));
m_bParametersDirty
=
true
;
m_bParametersDirty
=
true
;
rParamValue
=
aDataStr
;
rParamValue
=
aDataStr
;
rParamValue
.
setTypeKind
(
DataType
::
LONGVARCHAR
);
rParamValue
.
setTypeKind
(
DataType
::
LONGVARCHAR
);
...
...
dbaccess/source/ui/dlg/odbcconfig.cxx
Dosyayı görüntüle @
c79fe32d
...
@@ -62,10 +62,10 @@ typedef SQLRETURN (SQL_API* TSQLSetEnvAttr) (SQLHENV EnvironmentHandle, SQLINTEG
...
@@ -62,10 +62,10 @@ typedef SQLRETURN (SQL_API* TSQLSetEnvAttr) (SQLHENV EnvironmentHandle, SQLINTEG
typedef
SQLRETURN
(
SQL_API
*
TSQLDataSources
)
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
typedef
SQLRETURN
(
SQL_API
*
TSQLDataSources
)
(
SQLHENV
EnvironmentHandle
,
SQLUSMALLINT
Direction
,
SQLCHAR
*
ServerName
,
SQLSMALLINT
BufferLength1
,
SQLSMALLINT
*
NameLength1Ptr
,
SQLCHAR
*
Description
,
SQLSMALLINT
BufferLength2
,
SQLSMALLINT
*
NameLength2Ptr
);
SQLSMALLINT
BufferLength1
,
SQLSMALLINT
*
NameLength1Ptr
,
SQLCHAR
*
Description
,
SQLSMALLINT
BufferLength2
,
SQLSMALLINT
*
NameLength2Ptr
);
#define NSQLAllocHandle(a,b,c) (*
(TSQLAllocHandle)
(m_pAllocHandle))(a,b,c)
#define NSQLAllocHandle(a,b,c) (*
reinterpret_cast<TSQLAllocHandle>
(m_pAllocHandle))(a,b,c)
#define NSQLFreeHandle(a,b) (*
(TSQLFreeHandle)
(m_pFreeHandle))(a,b)
#define NSQLFreeHandle(a,b) (*
reinterpret_cast<TSQLFreeHandle>
(m_pFreeHandle))(a,b)
#define NSQLSetEnvAttr(a,b,c,d) (*reinterpret_cast<TSQLSetEnvAttr>(m_pSetEnvAttr))(a,b,c,d)
#define NSQLSetEnvAttr(a,b,c,d) (*reinterpret_cast<TSQLSetEnvAttr>(m_pSetEnvAttr))(a,b,c,d)
#define NSQLDataSources(a,b,c,d,e,f,g,h) (*
(TSQLDataSources)
(m_pDataSources))(a,b,c,d,e,f,g,h)
#define NSQLDataSources(a,b,c,d,e,f,g,h) (*
reinterpret_cast<TSQLDataSources>
(m_pDataSources))(a,b,c,d,e,f,g,h)
#endif
#endif
// OOdbcLibWrapper
// OOdbcLibWrapper
...
...
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