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
abaa69f9
Kaydet (Commit)
abaa69f9
authored
Nis 24, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
May 09, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert SV_DECL_PTRARR(SwXMLConditions_Impl) to std::vector
üst
3893b922
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
xmlfmt.cxx
sw/source/filter/xml/xmlfmt.cxx
+6
-7
No files found.
sw/source/filter/xml/xmlfmt.cxx
Dosyayı görüntüle @
abaa69f9
...
...
@@ -272,8 +272,7 @@ TYPEINIT1( SwXMLConditionContext_Impl, XMLTextStyleContext );
// ---------------------------------------------------------------------
typedef
SwXMLConditionContext_Impl
*
SwXMLConditionContextPtr
;
SV_DECL_PTRARR
(
SwXMLConditions_Impl
,
SwXMLConditionContextPtr
,
5
)
typedef
std
::
vector
<
SwXMLConditionContext_Impl
*>
SwXMLConditions_Impl
;
class
SwXMLTextStyleContext_Impl
:
public
XMLTextStyleContext
{
...
...
@@ -344,10 +343,10 @@ SwXMLTextStyleContext_Impl::~SwXMLTextStyleContext_Impl()
{
if
(
pConditions
)
{
while
(
pConditions
->
Count
()
)
while
(
!
pConditions
->
empty
()
)
{
SwXMLConditionContext_Impl
*
pCond
=
pConditions
->
GetObject
(
0
);
pConditions
->
Remove
(
0UL
);
SwXMLConditionContext_Impl
*
pCond
=
&*
pConditions
->
back
(
);
pConditions
->
pop_back
(
);
pCond
->
ReleaseRef
();
}
delete
pConditions
;
...
...
@@ -370,7 +369,7 @@ SvXMLImportContext *SwXMLTextStyleContext_Impl::CreateChildContext(
{
if
(
!
pConditions
)
pConditions
=
new
SwXMLConditions_Impl
;
pConditions
->
Insert
(
pCond
,
pConditions
->
Count
()
);
pConditions
->
push_back
(
pCond
);
pCond
->
AddRef
();
}
pContext
=
pCond
;
...
...
@@ -411,7 +410,7 @@ void SwXMLTextStyleContext_Impl::Finish( sal_Bool bOverwrite )
if
(
!
pColl
||
RES_CONDTXTFMTCOLL
!=
pColl
->
Which
()
)
return
;
sal_uInt16
nCount
=
pConditions
->
Count
();
sal_uInt16
nCount
=
pConditions
->
size
();
String
aString
;
OUString
sName
;
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
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