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
1f90b032
Kaydet (Commit)
1f90b032
authored
Kas 28, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
OUString::replace() does not modify in-place
Change-Id: I6fa7c64bdd3c7af4b9495831da063ecd917057de
üst
064ef013
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
binaryoutputstream.cxx
oox/source/helper/binaryoutputstream.cxx
+2
-2
No files found.
oox/source/helper/binaryoutputstream.cxx
Dosyayı görüntüle @
1f90b032
...
@@ -110,7 +110,7 @@ BinaryOutputStream::writeCharArrayUC( const OUString& rString, rtl_TextEncoding
...
@@ -110,7 +110,7 @@ BinaryOutputStream::writeCharArrayUC( const OUString& rString, rtl_TextEncoding
{
{
OString
sBuf
(
OUStringToOString
(
rString
,
eTextEnc
)
);
OString
sBuf
(
OUStringToOString
(
rString
,
eTextEnc
)
);
if
(
!
bAllowNulChars
)
if
(
!
bAllowNulChars
)
sBuf
.
replace
(
'\0'
,
'?'
);
sBuf
=
sBuf
.
replace
(
'\0'
,
'?'
);
writeMemory
(
static_cast
<
const
void
*
>
(
sBuf
.
getStr
()
),
sBuf
.
getLength
()
);
writeMemory
(
static_cast
<
const
void
*
>
(
sBuf
.
getStr
()
),
sBuf
.
getLength
()
);
}
}
...
@@ -119,7 +119,7 @@ BinaryOutputStream::writeUnicodeArray( const ::rtl::OUString& rString, bool bAll
...
@@ -119,7 +119,7 @@ BinaryOutputStream::writeUnicodeArray( const ::rtl::OUString& rString, bool bAll
{
{
OUString
sBuf
(
rString
);
OUString
sBuf
(
rString
);
if
(
!
bAllowNulChars
)
if
(
!
bAllowNulChars
)
sBuf
.
replace
(
'\0'
,
'?'
);
sBuf
=
sBuf
.
replace
(
'\0'
,
'?'
);
#ifdef OSL_BIGENDIAN
#ifdef OSL_BIGENDIAN
// need a non-const buffer for swapping byte order
// need a non-const buffer for swapping byte order
sal_Unicode
notConst
[
sBuf
.
getLength
()];
sal_Unicode
notConst
[
sBuf
.
getLength
()];
...
...
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