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
2faa219a
Kaydet (Commit)
2faa219a
authored
Agu 16, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringstatic
Change-Id: Ia5d7ca7864dbef1489294783438b9d718159614b
üst
a8a2f647
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
NDatabaseMetaData.cxx
connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
+4
-4
No files found.
connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx
Dosyayı görüntüle @
2faa219a
...
...
@@ -997,22 +997,22 @@ Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTableTypes( ) throw
/* Don't need to change as evoab driver supports only table */
// there exists no possibility to get table types so we have to check
static
const
OUString
sTableTypes
[]
=
static
const
OUString
Literal
sTableTypes
[]
=
{
OUString
(
"TABLE"
),
OUString
Literal
(
"TABLE"
),
// Currently we only support a 'TABLE' nothing more complex
};
::
connectivity
::
ODatabaseMetaDataResultSet
*
pResult
=
new
::
connectivity
::
ODatabaseMetaDataResultSet
(
::
connectivity
::
ODatabaseMetaDataResultSet
::
eTableTypes
);
Reference
<
XResultSet
>
xRef
=
pResult
;
// here we fill the rows which should be visible when ask for data from the resultset returned here
sal_Int32
nSize
=
sizeof
(
sTableTypes
)
/
sizeof
(
OUString
);
sal_Int32
nSize
=
SAL_N_ELEMENTS
(
sTableTypes
);
ODatabaseMetaDataResultSet
::
ORows
aRows
;
for
(
sal_Int32
i
=
0
;
i
<
nSize
;
++
i
)
{
ODatabaseMetaDataResultSet
::
ORow
aRow
;
aRow
.
push_back
(
ODatabaseMetaDataResultSet
::
getEmptyValue
());
aRow
.
push_back
(
new
ORowSetValueDecorator
(
sTableTypes
[
i
]
));
aRow
.
push_back
(
new
ORowSetValueDecorator
(
OUString
(
sTableTypes
[
i
])
));
// bound row
aRows
.
push_back
(
aRow
);
...
...
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