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
64f0d275
Kaydet (Commit)
64f0d275
authored
Tem 23, 2014
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
reduce SwSaveTypeCountContent to a MarkEntry: step 2
Change-Id: Ic60280439a55206ee52b4dcf0f802abf78cf5f2b
üst
b880be3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
docbm.cxx
sw/source/core/doc/docbm.cxx
+6
-7
No files found.
sw/source/core/doc/docbm.cxx
Dosyayı görüntüle @
64f0d275
...
...
@@ -1389,29 +1389,28 @@ namespace
bool
m_isMark
;
sal_Int32
m_nCntnt
;
};
class
_SwSaveTypeCountContent
class
_SwSaveTypeCountContent
:
public
MarkEntry
{
bool
bCharBound
;
sal_uInt16
nCount
;
sal_Int32
nContent
;
public
:
_SwSaveTypeCountContent
()
{
bCharBound
=
false
;
nCount
=
0
;
nContent
=
0
;
}
_SwSaveTypeCountContent
()
{
m_bOther
=
false
;
nCount
=
0
;
nContent
=
0
;
}
_SwSaveTypeCountContent
(
const
std
::
vector
<
sal_uLong
>
&
rArr
,
sal_uInt16
&
rPos
)
{
bCharBound
=
static_cast
<
bool
>
(
rArr
[
rPos
++
]);
m_bOther
=
static_cast
<
bool
>
(
rArr
[
rPos
++
]);
nCount
=
static_cast
<
sal_uInt16
>
(
rArr
[
rPos
++
]);
nContent
=
static_cast
<
sal_Int32
>
(
rArr
[
rPos
++
]);
}
void
Add
(
std
::
vector
<
sal_uLong
>
&
rArr
)
{
rArr
.
push_back
(
bCharBound
);
rArr
.
push_back
(
m_bOther
);
rArr
.
push_back
(
nCount
);
rArr
.
push_back
(
nContent
);
}
void
SetCharBound
(
bool
bCB
)
{
bCharBound
=
bCB
;
}
bool
IsCharBound
()
const
{
return
bCharBound
;
}
void
SetCharBound
(
bool
bCB
)
{
m_bOther
=
bCB
;
}
bool
IsCharBound
()
const
{
return
m_bOther
;
}
void
SetCount
(
sal_uInt16
n
)
{
nCount
=
n
;
}
sal_uInt16
GetCount
()
const
{
return
nCount
;
}
...
...
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