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
9de4f3b3
Kaydet (Commit)
9de4f3b3
authored
Eyl 16, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wunused-function, plus additional clean-up and fixes
Change-Id: I4a2b67ba186e205a7cb4757a4f7120b9393823d0
üst
8ab9ea00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
OTools.cxx
connectivity/source/drivers/odbc/OTools.cxx
+7
-6
No files found.
connectivity/source/drivers/odbc/OTools.cxx
Dosyayı görüntüle @
9de4f3b3
...
...
@@ -401,21 +401,22 @@ Sequence<sal_Int8> OTools::getBytesValue(const OConnection* _pConnection,
namespace
{
template
<
typename
C
>
inline
void
append
(
OUStringBuffer
s
,
C
*
d
,
sal_Int32
n
);
template
<>
inline
void
append
(
OUStringBuffer
s
,
wchar_t
*
d
,
sal_Int32
n
)
// Approximation of "#if sizeof (SQLWCHAR) == 4 && sizeof (wchar_t) == 4":
#if defined SQL_WCHART_CONVERT && defined SAL_UNICODE_NOTEQUAL_WCHAR_T
BOOST_STATIC_ASSERT
(
sizeof
(
wchar_t
)
==
4
);
void
append
(
OUStringBuffer
&
s
,
wchar_t
*
d
,
sal_Int32
n
)
{
assert
(
sizeof
(
wchar_t
)
==
4
);
for
(
sal_Int32
i
=
0
;
i
<
n
;
++
i
)
{
s
.
appendUtf32
(
d
[
i
]);
}
}
template
<>
inline
void
append
(
OUStringBuffer
s
,
sal_Unicode
*
d
,
sal_Int32
n
)
#else
void
append
(
OUStringBuffer
&
s
,
sal_Unicode
*
d
,
sal_Int32
n
)
{
s
.
append
(
d
,
n
);
}
#endif
}
OUString
OTools
::
getStringValue
(
OConnection
*
_pConnection
,
...
...
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