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
d5cb5350
Kaydet (Commit)
d5cb5350
authored
May 11, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I1e62523e08e6f1e7ec926b1a5e7c45d7c688f781
üst
0ef18e35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
rsctree.cxx
rsc/source/tools/rsctree.cxx
+10
-10
No files found.
rsc/source/tools/rsctree.cxx
Dosyayı görüntüle @
d5cb5350
...
...
@@ -184,18 +184,18 @@ NameNode* NameNode::SearchParent( const NameNode * pSearch ) const
{
if
(
Left
()
)
{
if
(
((
NameNode
*
)
Left
()
)
->
Compare
(
pSearch
)
==
EQUAL
)
if
(
Left
(
)
->
Compare
(
pSearch
)
==
EQUAL
)
return
const_cast
<
NameNode
*>
(
this
);
return
((
NameNode
*
)
Left
()
)
->
SearchParent
(
pSearch
);
return
Left
(
)
->
SearchParent
(
pSearch
);
}
}
else
if
(
nCmp
==
LESS
)
{
if
(
Right
()
)
{
if
(
((
NameNode
*
)
Right
()
)
->
Compare
(
pSearch
)
==
EQUAL
)
if
(
Right
(
)
->
Compare
(
pSearch
)
==
EQUAL
)
return
const_cast
<
NameNode
*>
(
this
);
return
((
NameNode
*
)
Right
()
)
->
SearchParent
(
pSearch
);
return
Right
(
)
->
SearchParent
(
pSearch
);
}
}
return
(
NameNode
*
)
NULL
;
...
...
@@ -211,12 +211,12 @@ NameNode* NameNode::Search( const NameNode * pSearch ) const
if
(
nCmp
==
GREATER
)
{
if
(
Left
()
)
return
((
NameNode
*
)
Left
()
)
->
Search
(
pSearch
);
return
Left
(
)
->
Search
(
pSearch
);
}
else
if
(
nCmp
==
LESS
)
{
if
(
Right
()
)
return
((
NameNode
*
)
Right
()
)
->
Search
(
pSearch
);
return
Right
(
)
->
Search
(
pSearch
);
}
else
return
const_cast
<
NameNode
*>
(
this
);
...
...
@@ -234,12 +234,12 @@ NameNode* NameNode::Search( const void * pSearch ) const
if
(
nCmp
==
GREATER
)
{
if
(
Left
()
)
return
((
NameNode
*
)
Left
()
)
->
Search
(
pSearch
);
return
Left
(
)
->
Search
(
pSearch
);
}
else
if
(
nCmp
==
LESS
)
{
if
(
Right
()
)
return
((
NameNode
*
)
Right
()
)
->
Search
(
pSearch
);
return
Right
(
)
->
Search
(
pSearch
);
}
else
return
const_cast
<
NameNode
*>
(
this
);
...
...
@@ -260,14 +260,14 @@ bool NameNode::Insert( NameNode * pTN, sal_uInt32* pnDepth )
if
(
nCmp
==
GREATER
)
{
if
(
Left
()
)
bRet
=
((
NameNode
*
)
Left
()
)
->
Insert
(
pTN
,
pnDepth
);
bRet
=
Left
(
)
->
Insert
(
pTN
,
pnDepth
);
else
pLeft
=
pTN
;
}
else
{
if
(
Right
()
)
bRet
=
((
NameNode
*
)
Right
()
)
->
Insert
(
pTN
,
pnDepth
);
bRet
=
Right
(
)
->
Insert
(
pTN
,
pnDepth
);
else
pRight
=
pTN
;
...
...
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