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
b51d9c63
Kaydet (Commit)
b51d9c63
authored
Haz 26, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: avoid calling convertToString() with unsupported encodings
Change-Id: If0b589c884cd306ca7c94d3366af66276a120176
üst
c00d8161
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
writerwordglue.cxx
sw/source/filter/ww8/writerwordglue.cxx
+2
-1
No files found.
sw/source/filter/ww8/writerwordglue.cxx
Dosyayı görüntüle @
b51d9c63
...
@@ -728,7 +728,8 @@ namespace sw
...
@@ -728,7 +728,8 @@ namespace sw
sal_uInt8
nRet
=
sal_uInt8
nRet
=
rtl_getBestWindowsCharsetFromTextEncoding
(
eTextEncoding
);
rtl_getBestWindowsCharsetFromTextEncoding
(
eTextEncoding
);
rtl_TextEncoding
enc2
=
rtl_getTextEncodingFromWindowsCharset
(
nRet
);
rtl_TextEncoding
enc2
=
rtl_getTextEncodingFromWindowsCharset
(
nRet
);
if
(
!
(
CanEncode
(
rFontName
,
enc2
)
&&
CanEncode
(
rAltName
,
enc2
)))
if
(
!
rtl_isOctetTextEncoding
(
enc2
)
/* check to avoid asserts */
||
!
(
CanEncode
(
rFontName
,
enc2
)
&&
CanEncode
(
rAltName
,
enc2
)))
{
{
static
struct
{
rtl_TextEncoding
enc
;
sal_uInt8
charset
;
}
static
struct
{
rtl_TextEncoding
enc
;
sal_uInt8
charset
;
}
const
s_fallbacks
[]
=
{
const
s_fallbacks
[]
=
{
...
...
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