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
ace51a61
Kaydet (Commit)
ace51a61
authored
Kas 21, 2013
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
xub_StrLen to sal_Int32
Change-Id: Iedc8eec38c0ea490b1b8da4ff7ca9237a77505b2
üst
cd4628ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ascatr.cxx
sw/source/filter/ascii/ascatr.cxx
+10
-10
No files found.
sw/source/filter/ascii/ascatr.cxx
Dosyayı görüntüle @
ace51a61
...
...
@@ -44,31 +44,31 @@ class SwASC_AttrIter
{
SwASCWriter
&
rWrt
;
const
SwTxtNode
&
rNd
;
xub_StrLen
nAktSwPos
;
sal_Int32
nAktSwPos
;
xub_StrLen
SearchNext
(
xub_StrLen
nStartPos
);
sal_Int32
SearchNext
(
sal_Int32
nStartPos
);
public
:
SwASC_AttrIter
(
SwASCWriter
&
rWrt
,
const
SwTxtNode
&
rNd
,
xub_StrLen
nStt
);
SwASC_AttrIter
(
SwASCWriter
&
rWrt
,
const
SwTxtNode
&
rNd
,
sal_Int32
nStt
);
void
NextPos
()
{
nAktSwPos
=
SearchNext
(
nAktSwPos
+
1
);
}
xub_StrLen
WhereNext
()
const
sal_Int32
WhereNext
()
const
{
return
nAktSwPos
;
}
bool
OutAttr
(
xub_StrLen
nSwPos
);
bool
OutAttr
(
sal_Int32
nSwPos
);
};
SwASC_AttrIter
::
SwASC_AttrIter
(
SwASCWriter
&
rWr
,
const
SwTxtNode
&
rTxtNd
,
xub_StrLen
nStt
)
sal_Int32
nStt
)
:
rWrt
(
rWr
)
,
rNd
(
rTxtNd
)
,
nAktSwPos
(
0
)
...
...
@@ -77,9 +77,9 @@ SwASC_AttrIter::SwASC_AttrIter(
}
xub_StrLen
SwASC_AttrIter
::
SearchNext
(
xub_StrLen
nStartPos
)
sal_Int32
SwASC_AttrIter
::
SearchNext
(
sal_Int32
nStartPos
)
{
xub_StrLen
nMinPos
=
STRING_MAXLEN
;
sal_Int32
nMinPos
=
SAL_MAX_INT32
;
const
SwpHints
*
pTxtAttrs
=
rNd
.
GetpSwpHints
();
if
(
pTxtAttrs
)
{
...
...
@@ -90,7 +90,7 @@ xub_StrLen SwASC_AttrIter::SearchNext( xub_StrLen nStartPos )
const
SwTxtAttr
*
pHt
=
(
*
pTxtAttrs
)[
i
];
if
(
pHt
->
HasDummyChar
()
)
{
xub_StrLen
nPos
=
*
pHt
->
GetStart
();
sal_Int32
nPos
=
*
pHt
->
GetStart
();
if
(
nPos
>=
nStartPos
&&
nPos
<=
nMinPos
)
nMinPos
=
nPos
;
...
...
@@ -118,7 +118,7 @@ xub_StrLen SwASC_AttrIter::SearchNext( xub_StrLen nStartPos )
}
bool
SwASC_AttrIter
::
OutAttr
(
xub_StrLen
nSwPos
)
bool
SwASC_AttrIter
::
OutAttr
(
sal_Int32
nSwPos
)
{
bool
bRet
=
false
;
const
SwpHints
*
pTxtAttrs
=
rNd
.
GetpSwpHints
();
...
...
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