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
fb22eb42
Kaydet (Commit)
fb22eb42
authored
Haz 11, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix XMLFile::SearchL10NElements signature
Change-Id: I34134f75ac5571a635256d349bf5a2f67ef8ef06
üst
7e193980
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
xmlparse.hxx
l10ntools/inc/xmlparse.hxx
+1
-1
xmlparse.cxx
l10ntools/source/xmlparse.cxx
+3
-3
No files found.
l10ntools/inc/xmlparse.hxx
Dosyayı görüntüle @
fb22eb42
...
...
@@ -155,7 +155,7 @@ public:
virtual
~
XMLFile
();
void
Print
(
XMLNode
*
pCur
=
NULL
,
sal_uInt16
nLevel
=
0
);
virtual
void
SearchL10NElements
(
XML
Parent
Node
*
pCur
,
int
pos
=
0
);
virtual
void
SearchL10NElements
(
XML
Child
Node
*
pCur
,
int
pos
=
0
);
void
Extract
(
XMLFile
*
pCur
=
NULL
);
XMLHashMap
*
GetStrings
(){
return
m_pXMLStrings
;
}
...
...
l10ntools/source/xmlparse.cxx
Dosyayı görüntüle @
fb22eb42
...
...
@@ -442,7 +442,7 @@ XMLFile& XMLFile::operator=(const XMLFile& rObj)
return
*
this
;
}
void
XMLFile
::
SearchL10NElements
(
XML
Parent
Node
*
pCur
,
int
nPos
)
void
XMLFile
::
SearchL10NElements
(
XML
Child
Node
*
pCur
,
int
nPos
)
{
bool
bInsert
=
true
;
if
(
!
pCur
)
...
...
@@ -460,7 +460,7 @@ void XMLFile::SearchL10NElements( XMLParentNode *pCur, int nPos )
{
pElement
=
(
*
GetChildList
())[
i
];
if
(
pElement
->
GetNodeType
()
==
XML_NODE_TYPE_ELEMENT
)
SearchL10NElements
(
(
XMLParentNode
*
)
pElement
,
i
);
SearchL10NElements
(
pElement
,
i
);
}
}
}
...
...
@@ -503,7 +503,7 @@ void XMLFile::SearchL10NElements( XMLParentNode *pCur, int nPos )
else
if
(
bInsert
&&
pElement
->
GetChildList
()
)
{
for
(
size_t
k
=
0
;
k
<
pElement
->
GetChildList
()
->
size
();
k
++
)
SearchL10NElements
(
(
XMLParentNode
*
)(
*
pElement
->
GetChildList
())[
k
],
k
);
SearchL10NElements
(
(
*
pElement
->
GetChildList
())[
k
],
k
);
}
}
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