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
2b4d13f1
Kaydet (Commit)
2b4d13f1
authored
Agu 23, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce scope of variable
Change-Id: Ib3669c8946b431b845bcb217e7cf4a5f7a89177f
üst
82e95667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
HelpCompiler.cxx
helpcompiler/source/HelpCompiler.cxx
+1
-3
No files found.
helpcompiler/source/HelpCompiler.cxx
Dosyayı görüntüle @
2b4d13f1
...
@@ -330,14 +330,12 @@ void myparser::traverse( xmlNodePtr parentNode )
...
@@ -330,14 +330,12 @@ void myparser::traverse( xmlNodePtr parentNode )
xmlFree
(
branchxml
);
xmlFree
(
branchxml
);
xmlFree
(
idxml
);
xmlFree
(
idxml
);
std
::
string
hid
;
if
(
branch
.
compare
(
0
,
3
,
"hid"
)
==
0
)
if
(
branch
.
compare
(
0
,
3
,
"hid"
)
==
0
)
{
{
size_t
index
=
branch
.
find
(
'/'
);
size_t
index
=
branch
.
find
(
'/'
);
if
(
index
!=
std
::
string
::
npos
)
if
(
index
!=
std
::
string
::
npos
)
{
{
hid
=
branch
.
substr
(
1
+
index
);
auto
hid
=
branch
.
substr
(
1
+
index
);
// one shall serve as a documentId
// one shall serve as a documentId
if
(
documentId
.
empty
())
if
(
documentId
.
empty
())
documentId
=
hid
;
documentId
=
hid
;
...
...
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