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
83f2bb7e
Kaydet (Commit)
83f2bb7e
authored
Mar 21, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#704115 Unchecked return value
Change-Id: Ic76d930f3f7a76c93c7b034570297b398497e9b4
üst
f5a725ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
txtfldi.cxx
xmloff/source/text/txtfldi.cxx
+18
-14
No files found.
xmloff/source/text/txtfldi.cxx
Dosyayı görüntüle @
83f2bb7e
...
@@ -3654,24 +3654,28 @@ SvXMLImportContext* XMLAnnotationImportContext::CreateChildContext(
...
@@ -3654,24 +3654,28 @@ SvXMLImportContext* XMLAnnotationImportContext::CreateChildContext(
{
{
try
try
{
{
bool
bOK
=
true
;
if
(
!
mxField
.
is
()
)
if
(
!
mxField
.
is
()
)
CreateField
(
mxField
,
sServicePrefix
+
GetServiceName
()
);
bOK
=
CreateField
(
mxField
,
sServicePrefix
+
GetServiceName
()
);
Any
aAny
=
mxField
->
getPropertyValue
(
sPropertyTextRange
);
if
(
bOK
)
Reference
<
XText
>
xText
;
aAny
>>=
xText
;
if
(
xText
.
is
()
)
{
{
UniReference
<
XMLTextImportHelper
>
xTxtImport
=
GetImport
().
GetTextImport
();
Any
aAny
=
mxField
->
getPropertyValue
(
sPropertyTextRange
);
if
(
!
mxCursor
.
is
()
)
Reference
<
XText
>
xText
;
aAny
>>=
xText
;
if
(
xText
.
is
()
)
{
{
mxOldCursor
=
xTxtImport
->
GetCursor
();
UniReference
<
XMLTextImportHelper
>
xTxtImport
=
GetImport
().
GetTextImport
();
mxCursor
=
xText
->
createTextCursor
();
if
(
!
mxCursor
.
is
()
)
}
{
mxOldCursor
=
xTxtImport
->
GetCursor
();
mxCursor
=
xText
->
createTextCursor
();
}
if
(
mxCursor
.
is
()
)
if
(
mxCursor
.
is
()
)
{
{
xTxtImport
->
SetCursor
(
mxCursor
);
xTxtImport
->
SetCursor
(
mxCursor
);
pContext
=
xTxtImport
->
CreateTextChildContext
(
GetImport
(),
nPrefix
,
rLocalName
,
xAttrList
);
pContext
=
xTxtImport
->
CreateTextChildContext
(
GetImport
(),
nPrefix
,
rLocalName
,
xAttrList
);
}
}
}
}
}
}
}
...
...
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