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
43f04e78
Kaydet (Commit)
43f04e78
authored
Şub 21, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Do not compare OUStrings twice
Change-Id: I94f7cecf5b39c1f03b9f10a13b5efa63bb06ced8
üst
2b3aa996
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
docnum.cxx
sw/source/core/doc/docnum.cxx
+13
-10
No files found.
sw/source/core/doc/docnum.cxx
Dosyayı görüntüle @
43f04e78
...
...
@@ -570,17 +570,20 @@ static sal_uInt16 lcl_FindOutlineName( const SwNodes& rNds, const OUString& rNam
for
(
SwOutlineNodes
::
size_type
n
=
0
;
n
<
rOutlNds
.
size
();
++
n
)
{
SwTxtNode
*
pTxtNd
=
rOutlNds
[
n
]
->
GetTxtNode
();
OUString
sTxt
(
pTxtNd
->
GetExpandTxt
()
);
if
(
sTxt
==
rName
)
const
OUString
sTxt
(
pTxtNd
->
GetExpandTxt
()
);
if
(
sTxt
.
startsWith
(
rName
)
)
{
// Found "exact", set Pos to the Node
nSavePos
=
n
;
break
;
}
else
if
(
!
bExact
&&
USHRT_MAX
==
nSavePos
&&
sTxt
.
startsWith
(
rName
)
)
{
// maybe we just found the text's first part
nSavePos
=
n
;
if
(
sTxt
.
getLength
()
==
rName
.
getLength
())
{
// Found "exact", set Pos to the Node
nSavePos
=
n
;
break
;
}
else
if
(
!
bExact
&&
USHRT_MAX
==
nSavePos
)
{
// maybe we just found the text's first part
nSavePos
=
n
;
}
}
}
...
...
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