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
c2276599
Kaydet (Commit)
c2276599
authored
Ara 03, 2014
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use C++11 iteration
Change-Id: I0a220d6cec1f50e3bfb5ae3c4eb7fd43836236f8
üst
b4f8a3dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
edattr.cxx
sw/source/core/edit/edattr.cxx
+5
-5
No files found.
sw/source/core/edit/edattr.cxx
Dosyayı görüntüle @
c2276599
...
@@ -243,12 +243,12 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const
...
@@ -243,12 +243,12 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const
// number of nodes the function have explored so far
// number of nodes the function have explored so far
sal_uInt16
numberOfLookup
=
0
;
sal_uInt16
numberOfLookup
=
0
;
SwPaM
*
pStartPaM
=
pPaM
;
for
(
SwPaM
&
rCurrentPaM
:
pPaM
->
GetRingContainer
())
do
{
// for all the point and mark (selections)
{
// for all the point and mark (selections)
// get the start and the end node of the current selection
// get the start and the end node of the current selection
sal_uLong
nSttNd
=
pPaM
->
GetMark
()
->
nNode
.
GetIndex
(),
sal_uLong
nSttNd
=
rCurrentPaM
.
GetMark
()
->
nNode
.
GetIndex
(),
nEndNd
=
pPaM
->
GetPoint
()
->
nNode
.
GetIndex
();
nEndNd
=
rCurrentPaM
.
GetPoint
()
->
nNode
.
GetIndex
();
// reverse start and end if they aren't sorted correctly
// reverse start and end if they aren't sorted correctly
if
(
nSttNd
>
nEndNd
)
if
(
nSttNd
>
nEndNd
)
...
@@ -276,7 +276,7 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const
...
@@ -276,7 +276,7 @@ SwTxtFmtColl* SwEditShell::GetPaMTxtFmtColl( SwPaM* pPaM ) const
return
pFmt
;
return
pFmt
;
}
}
}
}
}
while
(
(
pPaM
=
static_cast
<
SwPaM
*>
(
pPaM
->
GetNext
())
)
!=
pStartPaM
);
}
// if none of the selected node contain a named paragraph format
// if none of the selected node contain a named paragraph format
return
NULL
;
return
NULL
;
...
...
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