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
3d038663
Kaydet (Commit)
3d038663
authored
Nis 06, 2014
tarafından
Oliver-Rainer Wittmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
124607: ODF import: check on certain property existence in annotation import to avoid exceptions
üst
bd1eb988
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
txtfldi.cxx
xmloff/source/text/txtfldi.cxx
+10
-6
No files found.
xmloff/source/text/txtfldi.cxx
Dosyayı görüntüle @
3d038663
...
@@ -3760,13 +3760,17 @@ void XMLAnnotationImportContext::EndElement()
...
@@ -3760,13 +3760,17 @@ void XMLAnnotationImportContext::EndElement()
uno
::
Reference
<
container
::
XEnumeration
>
xFields
(
xFieldsAccess
->
createEnumeration
());
uno
::
Reference
<
container
::
XEnumeration
>
xFields
(
xFieldsAccess
->
createEnumeration
());
while
(
xFields
->
hasMoreElements
())
while
(
xFields
->
hasMoreElements
())
{
{
uno
::
Reference
<
beans
::
XPropertySet
>
xCurrField
(
xFields
->
nextElement
(),
uno
::
UNO_QUERY
);
uno
::
Reference
<
beans
::
XPropertySet
>
xCurrField
(
xFields
->
nextElement
(),
uno
::
UNO_QUERY
);
OUString
aFieldName
;
uno
::
Reference
<
beans
::
XPropertySetInfo
>
xCurrFieldPropInfo
=
xCurrField
->
getPropertySetInfo
();
xCurrField
->
getPropertyValue
(
sPropertyName
)
>>=
aFieldName
;
if
(
xCurrFieldPropInfo
->
hasPropertyByName
(
sPropertyName
)
)
if
(
aFieldName
==
aName
)
{
{
xPrevField
.
set
(
xCurrField
,
uno
::
UNO_QUERY
);
OUString
aFieldName
;
break
;
xCurrField
->
getPropertyValue
(
sPropertyName
)
>>=
aFieldName
;
if
(
aFieldName
==
aName
)
{
xPrevField
.
set
(
xCurrField
,
uno
::
UNO_QUERY
);
break
;
}
}
}
}
}
}
}
...
...
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