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
ae850353
Kaydet (Commit)
ae850353
authored
Eki 02, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: tdf#92993 access violation on particular .docx on glyph layout
Change-Id: I69dfd6747e37ddb1727dd41b99d1b70eaed83425
üst
e9ae1b64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sallayout.cxx
vcl/source/gdi/sallayout.cxx
+4
-2
No files found.
vcl/source/gdi/sallayout.cxx
Dosyayı görüntüle @
ae850353
...
...
@@ -1650,8 +1650,9 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
maFallbackRuns
[
n
].
ResetPos
();
// get the next codepoint index that needs fallback
int
nActiveCharPos
=
nCharPos
[
0
];
int
nActiveCharIndex
=
nActiveCharPos
-
mnMinCharPos
;
// get the end index of the active run
int
nLastRunEndChar
=
(
vRtl
[
nActiveCharPos
-
mnMinCharPos
])
?
int
nLastRunEndChar
=
(
nActiveCharIndex
>=
0
&&
vRtl
[
nActiveCharIndex
])
?
rArgs
.
mnEndCharPos
:
rArgs
.
mnMinCharPos
-
1
;
int
nRunVisibleEndChar
=
nCharPos
[
0
];
// merge the fallback levels
...
...
@@ -1800,7 +1801,8 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
if
(
!
bLTR
)
nOldRunAdv
=
-
nOldRunAdv
;
#endif
if
(
vRtl
[
nActiveCharPos
-
mnMinCharPos
])
nActiveCharIndex
=
nActiveCharPos
-
mnMinCharPos
;
if
(
nActiveCharIndex
>=
0
&&
vRtl
[
nActiveCharIndex
])
{
if
(
nRunVisibleEndChar
>
mnMinCharPos
&&
nRunVisibleEndChar
<=
mnEndCharPos
)
nRunAdvance
-=
aMultiArgs
.
mpDXArray
[
nRunVisibleEndChar
-
1
-
mnMinCharPos
];
...
...
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