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
379d6a5a
Kaydet (Commit)
379d6a5a
authored
Mar 04, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
handle erronous fExtChar safely
üst
53c45468
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ww8scan.cxx
sw/source/filter/ww8/ww8scan.cxx
+6
-4
No files found.
sw/source/filter/ww8/ww8scan.cxx
Dosyayı görüntüle @
379d6a5a
...
...
@@ -1486,9 +1486,9 @@ WW8_CP WW8ScannerBase::WW8Fc2Cp( WW8_FC nFcPos ) const
if
(
nFcPos
==
WW8_FC_MAX
)
return
nFallBackCpEnd
;
bool
bIsUnicode
=
false
;
if
(
pPieceIter
)
// Complex File ?
{
bool
bIsUnicode
=
false
;
ULONG
nOldPos
=
pPieceIter
->
GetIdx
();
for
(
pPieceIter
->
SetIdx
(
0
);
...
...
@@ -1546,9 +1546,11 @@ WW8_CP WW8ScannerBase::WW8Fc2Cp( WW8_FC nFcPos ) const
return
nFallBackCpEnd
;
}
// No complex file
if
(
pWw8Fib
->
fExtChar
)
bIsUnicode
=
true
;
return
((
nFcPos
-
pWw8Fib
->
fcMin
)
/
(
bIsUnicode
?
2
:
1
));
if
(
!
pWw8Fib
->
fExtChar
)
nFallBackCpEnd
=
(
nFcPos
-
pWw8Fib
->
fcMin
);
else
nFallBackCpEnd
=
(
nFcPos
-
pWw8Fib
->
fcMin
+
1
)
/
2
;
return
nFallBackCpEnd
;
}
WW8_FC
WW8ScannerBase
::
WW8Cp2Fc
(
WW8_CP
nCpPos
,
bool
*
pIsUnicode
,
...
...
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