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
5d8121f1
Kaydet (Commit)
5d8121f1
authored
Mar 01, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use indexes in OUString::getToken
Change-Id: Id30c5d094688d29e36e4ead8c58b59705b6bc91b
üst
451b26c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
doctxm.cxx
sw/source/core/doc/doctxm.cxx
+7
-5
No files found.
sw/source/core/doc/doctxm.cxx
Dosyayı görüntüle @
5d8121f1
...
...
@@ -1231,18 +1231,20 @@ void SwTOXBaseSection::UpdateTemplate( const SwTxtNode* pOwnChapterNode )
for
(
sal_uInt16
i
=
0
;
i
<
MAXLEVEL
;
i
++
)
{
const
OUString
sTmpStyleNames
=
GetStyleNames
(
i
);
sal_uInt16
nTokenCount
=
comphelper
::
string
::
getTokenCount
(
sTmpStyleNames
,
TOX_STYLE_DELIMITER
);
for
(
sal_uInt16
nStyle
=
0
;
nStyle
<
nTokenCount
;
++
nStyle
)
if
(
sTmpStyleNames
.
isEmpty
())
continue
;
sal_Int32
nIndex
=
0
;
while
(
nIndex
>=
0
)
{
SwTxtFmtColl
*
pColl
=
pDoc
->
FindTxtFmtCollByName
(
sTmpStyleNames
.
getToken
(
nStyle
,
TOX_STYLE_DELIMITER
));
sTmpStyleNames
.
getToken
(
0
,
TOX_STYLE_DELIMITER
,
nIndex
));
//TODO: no outline Collections in content indexes if OutlineLevels are already included
if
(
!
pColl
||
(
TOX_CONTENT
==
SwTOXBase
::
GetType
()
&&
GetCreateType
()
&
nsSwTOXElement
::
TOX_OUTLINELEVEL
&&
pColl
->
IsAssignedToListLevelOfOutlineStyle
())
)
continue
;
continue
;
SwIterator
<
SwTxtNode
,
SwFmtColl
>
aIter
(
*
pColl
);
for
(
SwTxtNode
*
pTxtNd
=
aIter
.
First
();
pTxtNd
;
pTxtNd
=
aIter
.
Next
()
)
...
...
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