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
f54f99fe
Kaydet (Commit)
f54f99fe
authored
Agu 18, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1316521 Dereference null return value
Change-Id: I6ec19df7b84e3529ef00640560540fda445dc82e
üst
c5a516bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
foldertree.cxx
svtools/source/contnr/foldertree.cxx
+3
-3
No files found.
svtools/source/contnr/foldertree.cxx
Dosyayı görüntüle @
f54f99fe
...
...
@@ -92,12 +92,12 @@ void FolderTree::FillTreeEntry( const OUString & rUrl, const ::std::vector< std:
if
(
pParent
&&
!
IsExpanded
(
pParent
)
)
{
while
(
GetChildCount
(
pParent
)
>
0
)
while
(
SvTreeListEntry
*
pChild
=
FirstChild
(
pParent
)
)
{
SvTreeListEntry
*
pChild
=
FirstChild
(
pParent
);
GetModel
()
->
Remove
(
pChild
);
GetModel
()
->
Remove
(
pChild
);
}
for
(
::
std
::
vector
<
std
::
pair
<
OUString
,
OUString
>
>::
const_iterator
it
=
rFolders
.
begin
();
it
!=
rFolders
.
end
()
;
++
it
)
{
SvTreeListEntry
*
pNewEntry
=
InsertEntry
(
it
->
first
,
pParent
,
true
);
...
...
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