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
63ea2d46
Kaydet (Commit)
63ea2d46
authored
Tem 02, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
replace while with for
Change-Id: I752376e42bf745b33a7be7478531eebd42893926
üst
3575dba9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
xmlstyle.cxx
sc/source/filter/xml/xmlstyle.cxx
+3
-5
No files found.
sc/source/filter/xml/xmlstyle.cxx
Dosyayı görüntüle @
63ea2d46
...
...
@@ -623,7 +623,7 @@ void ScXMLAutoStylePoolP::exportStyleAttributes(
{
::
std
::
vector
<
XMLPropertyState
>::
const_iterator
i
(
rProperties
.
begin
());
::
std
::
vector
<
XMLPropertyState
>::
const_iterator
endi
(
rProperties
.
end
());
while
(
i
!=
end
i
)
for
(;
i
!=
endi
;
++
i
)
{
rtl
::
Reference
<
XMLPropertySetMapper
>
aPropMapper
(
rScXMLExport
.
GetCellStylesPropertySetMapper
());
sal_Int16
nContextID
(
aPropMapper
->
GetEntryContextId
(
i
->
mnIndex
));
...
...
@@ -646,14 +646,13 @@ void ScXMLAutoStylePoolP::exportStyleAttributes(
}
break
;
}
++
i
;
}
}
else
if
(
nFamily
==
XML_STYLE_FAMILY_TABLE_TABLE
)
{
::
std
::
vector
<
XMLPropertyState
>::
const_iterator
i
(
rProperties
.
begin
());
::
std
::
vector
<
XMLPropertyState
>::
const_iterator
endi
(
rProperties
.
end
());
while
(
i
!=
end
i
)
for
(;
i
!=
endi
;
++
i
)
{
rtl
::
Reference
<
XMLPropertySetMapper
>
aPropMapper
(
rScXMLExport
.
GetTableStylesPropertySetMapper
());
sal_Int16
nContextID
(
aPropMapper
->
GetEntryContextId
(
i
->
mnIndex
));
...
...
@@ -692,7 +691,7 @@ void ScXMLAutoStylePoolP::exportStyleContent(
bool
bNotFound
=
true
;
::
std
::
vector
<
XMLPropertyState
>::
const_iterator
i
(
rProperties
.
begin
());
::
std
::
vector
<
XMLPropertyState
>::
const_iterator
endi
(
rProperties
.
end
());
while
((
i
!=
endi
)
&&
bNotFound
)
for
(;
i
!=
endi
&&
bNotFound
;
++
i
)
{
if
(
i
->
mnIndex
!=
-
1
)
{
...
...
@@ -793,7 +792,6 @@ void ScXMLAutoStylePoolP::exportStyleContent(
break
;
}
}
++
i
;
}
}
}
...
...
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