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
2002c37a
Kaydet (Commit)
2002c37a
authored
Nis 06, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use more proper integer types and reduce scope
Change-Id: Ib5483f857c4bddd7d0ece6b54e4d57a0347ee13a
üst
b8ca608a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
edglbldc.cxx
sw/source/core/edit/edglbldc.cxx
+2
-3
No files found.
sw/source/core/edit/edglbldc.cxx
Dosyayı görüntüle @
2002c37a
...
@@ -61,9 +61,8 @@ sal_uInt16 SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
...
@@ -61,9 +61,8 @@ sal_uInt16 SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
// then all linked areas on the topmost level
// then all linked areas on the topmost level
SwDoc
*
pMyDoc
=
GetDoc
();
SwDoc
*
pMyDoc
=
GetDoc
();
const
SwSectionFmts
&
rSectFmts
=
pMyDoc
->
GetSections
();
const
SwSectionFmts
&
rSectFmts
=
pMyDoc
->
GetSections
();
sal_uInt16
n
;
for
(
n
=
rSectFmts
.
size
();
n
;
)
for
(
auto
n
=
rSectFmts
.
size
();
n
;
)
{
{
const
SwSection
*
pSect
=
rSectFmts
[
--
n
]
->
GetGlobalDocSection
();
const
SwSection
*
pSect
=
rSectFmts
[
--
n
]
->
GetGlobalDocSection
();
if
(
pSect
)
if
(
pSect
)
...
@@ -90,7 +89,7 @@ sal_uInt16 SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
...
@@ -90,7 +89,7 @@ sal_uInt16 SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
// and finally add the dummies (other text)
// and finally add the dummies (other text)
SwNode
*
pNd
;
SwNode
*
pNd
;
sal_uLong
nSttIdx
=
pMyDoc
->
GetNodes
().
GetEndOfExtras
().
GetIndex
()
+
2
;
sal_uLong
nSttIdx
=
pMyDoc
->
GetNodes
().
GetEndOfExtras
().
GetIndex
()
+
2
;
for
(
n
=
0
;
n
<
rArr
.
size
();
++
n
)
for
(
SwGlblDocContents
::
size_type
n
=
0
;
n
<
rArr
.
size
();
++
n
)
{
{
const
SwGlblDocContent
&
rNew
=
*
rArr
[
n
];
const
SwGlblDocContent
&
rNew
=
*
rArr
[
n
];
// Search from StartPos until rNew.DocPos for a content node.
// Search from StartPos until rNew.DocPos for a content node.
...
...
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