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
a96e7428
Kaydet (Commit)
a96e7428
authored
May 05, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Resolves: fdo#47347 overwrite incorrect font table entry with the correct one
Change-Id: I563cf50b6eb029276115b9b02951d36b1ec0d39c
üst
349d64b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+9
-1
No files found.
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
a96e7428
...
@@ -885,7 +885,15 @@ void RTFDocumentImpl::text(OUString& rString)
...
@@ -885,7 +885,15 @@ void RTFDocumentImpl::text(OUString& rString)
writerfilter
::
Reference
<
Properties
>::
Pointer_t
const
pProp
(
writerfilter
::
Reference
<
Properties
>::
Pointer_t
const
pProp
(
new
RTFReferenceProperties
(
m_aStates
.
top
().
aTableAttributes
,
m_aStates
.
top
().
aTableSprms
)
new
RTFReferenceProperties
(
m_aStates
.
top
().
aTableAttributes
,
m_aStates
.
top
().
aTableSprms
)
);
);
m_aFontTableEntries
.
insert
(
make_pair
(
m_nCurrentFontIndex
,
pProp
));
//See fdo#47347 initial invalid font entry properties are inserted first,
//so when we attempt to insert the correct ones, there's already an
//entry in the map for them, so the new ones aren't inserted.
RTFReferenceTable
::
Entries_t
::
iterator
lb
=
m_aFontTableEntries
.
lower_bound
(
m_nCurrentFontIndex
);
if
(
lb
!=
m_aFontTableEntries
.
end
()
&&
!
(
m_aFontTableEntries
.
key_comp
()(
m_nCurrentFontIndex
,
lb
->
first
)))
lb
->
second
=
pProp
;
else
m_aFontTableEntries
.
insert
(
lb
,
make_pair
(
m_nCurrentFontIndex
,
pProp
));
}
}
break
;
break
;
case
DESTINATION_STYLESHEET
:
case
DESTINATION_STYLESHEET
:
...
...
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