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
96a36b91
Kaydet (Commit)
96a36b91
authored
Nis 14, 2012
tarafından
Noel Grandin
Kaydeden (comit)
Michael Stahl
Nis 18, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Convert SV_DECL_PTRARR to std::vector
üst
8c40de80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
xmltabi.cxx
xmloff/source/style/xmltabi.cxx
+6
-9
No files found.
xmloff/source/style/xmltabi.cxx
Dosyayı görüntüle @
96a36b91
...
...
@@ -184,8 +184,7 @@ SvXMLImportContext *SvxXMLTabStopContext_Impl::CreateChildContext(
typedef
SvxXMLTabStopContext_Impl
*
SvxXMLTabStopContext_Impl_ImplPtr
;
SV_DECL_PTRARR
(
SvxXMLTabStopArray_Impl
,
SvxXMLTabStopContext_Impl_ImplPtr
,
20
)
class
SvxXMLTabStopArray_Impl
:
public
std
::
vector
<
SvxXMLTabStopContext_Impl
*>
{};
// ---
...
...
@@ -206,12 +205,10 @@ SvxXMLTabStopImportContext::~SvxXMLTabStopImportContext()
{
if
(
mpTabStops
)
{
sal_uInt16
nCount
=
mpTabStops
->
Count
();
while
(
nCount
)
while
(
!
mpTabStops
->
empty
()
)
{
nCount
--
;
SvxXMLTabStopContext_Impl
*
pTabStop
=
(
*
mpTabStops
)[
nCount
];
mpTabStops
->
Remove
(
nCount
,
1
);
SvxXMLTabStopContext_Impl
*
pTabStop
=
mpTabStops
->
back
();
mpTabStops
->
pop_back
();
pTabStop
->
ReleaseRef
();
}
}
...
...
@@ -237,7 +234,7 @@ SvXMLImportContext *SvxXMLTabStopImportContext::CreateChildContext(
if
(
!
mpTabStops
)
mpTabStops
=
new
SvxXMLTabStopArray_Impl
;
mpTabStops
->
Insert
(
pTabStopContext
,
mpTabStops
->
Count
()
);
mpTabStops
->
push_back
(
pTabStopContext
);
pTabStopContext
->
AddRef
();
pContext
=
pTabStopContext
;
...
...
@@ -252,7 +249,7 @@ SvXMLImportContext *SvxXMLTabStopImportContext::CreateChildContext(
void
SvxXMLTabStopImportContext
::
EndElement
(
)
{
sal_uInt16
nCount
=
mpTabStops
?
mpTabStops
->
Count
()
:
0
;
sal_uInt16
nCount
=
mpTabStops
?
mpTabStops
->
size
()
:
0
;
uno
::
Sequence
<
style
::
TabStop
>
aSeq
(
nCount
);
if
(
mpTabStops
)
...
...
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