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
aaf8eb1c
Kaydet (Commit)
aaf8eb1c
authored
Eyl 21, 2016
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: use range-based for loop in textboxhelper
Change-Id: I5275e4bd9e812a1b1229ad67fba671fdb23d2b37
üst
74ac65c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
textboxhelper.cxx
sw/source/core/doc/textboxhelper.cxx
+3
-4
No files found.
sw/source/core/doc/textboxhelper.cxx
Dosyayı görüntüle @
aaf8eb1c
...
...
@@ -172,9 +172,9 @@ sal_Int32 SwTextBoxHelper::getCount(const SwDoc* pDoc)
{
sal_Int32
nRet
=
0
;
const
SwFrameFormats
&
rSpzFrameFormats
=
*
pDoc
->
GetSpzFrameFormats
();
for
(
SwFrameFormats
::
const_iterator
it
=
rSpzFrameFormats
.
begin
();
it
!=
rSpzFrameFormats
.
end
();
++
it
)
for
(
const
auto
pFormat
:
rSpzFrameFormats
)
{
if
(
isTextBox
(
*
i
t
,
RES_FLYFRMFMT
))
if
(
isTextBox
(
pForma
t
,
RES_FLYFRMFMT
))
++
nRet
;
}
return
nRet
;
...
...
@@ -531,9 +531,8 @@ void SwTextBoxHelper::syncProperty(SwFrameFormat* pShape, sal_uInt16 nWID, sal_u
void
SwTextBoxHelper
::
saveLinks
(
const
SwFrameFormats
&
rFormats
,
std
::
map
<
const
SwFrameFormat
*
,
const
SwFrameFormat
*>&
rLinks
)
{
for
(
std
::
size_t
i
=
0
;
i
<
rFormats
.
size
();
++
i
)
for
(
const
auto
pFormat
:
rFormats
)
{
const
SwFrameFormat
*
pFormat
=
rFormats
[
i
];
if
(
SwFrameFormat
*
pTextBox
=
getOtherTextBoxFormat
(
pFormat
,
RES_DRAWFRMFMT
))
rLinks
[
pFormat
]
=
pTextBox
;
}
...
...
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