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
303c62e2
Kaydet (Commit)
303c62e2
authored
Ock 23, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1158446 Uninitialized scalar field
Change-Id: I66135f813adbf25c69e667f9ac0198edf7bbc12d
üst
5a476685
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
15 deletions
+26
-15
pormulti.hxx
sw/source/core/text/pormulti.hxx
+26
-15
No files found.
sw/source/core/text/pormulti.hxx
Dosyayı görüntüle @
303c62e2
...
...
@@ -86,7 +86,7 @@ class SwMultiPortion : public SwLinePortion
sal_Bool
bTab1
:
1
;
// First line tabulator
sal_Bool
bTab2
:
1
;
// Second line includes tabulator
sal_Bool
bDouble
:
1
;
// Double line
bool
bRuby
:
1
;
// Phonetics
bool
bRuby
:
1
;
// Phonetics
sal_Bool
bBidi
:
1
;
sal_Bool
bTop
:
1
;
// Phonetic position
sal_Bool
bFormatted
:
1
;
// Already formatted
...
...
@@ -94,20 +94,31 @@ class SwMultiPortion : public SwLinePortion
sal_uInt8
nDirection
:
2
;
// Direction (0/90/180/270 degrees)
sal_Bool
bFlyInCntnt
:
1
;
// Fly as character inside
protected
:
SwMultiPortion
(
sal_Int32
nEnd
)
:
pFldRest
(
0
),
bTab1
(
sal_False
),
bTab2
(
sal_False
),
bDouble
(
sal_False
),
bRuby
(
false
),
bBidi
(
sal_False
),
bFormatted
(
sal_False
),
bFollowFld
(
sal_False
),
nDirection
(
0
),
bFlyInCntnt
(
sal_False
)
{
SetWhichPor
(
POR_MULTI
);
SetLen
(
nEnd
);
}
inline
void
SetDouble
()
{
bDouble
=
sal_True
;
}
inline
void
SetRuby
()
{
bRuby
=
true
;
}
inline
void
SetBidi
()
{
bBidi
=
sal_True
;
}
inline
void
SetTop
(
sal_Bool
bNew
)
{
bTop
=
bNew
;
}
inline
void
SetTab1
(
sal_Bool
bNew
)
{
bTab1
=
bNew
;
}
inline
void
SetTab2
(
sal_Bool
bNew
)
{
bTab2
=
bNew
;
}
inline
void
SetDirection
(
sal_uInt8
nNew
)
{
nDirection
=
nNew
;
}
inline
sal_Bool
GetTab1
()
const
{
return
bTab1
;
}
inline
sal_Bool
GetTab2
()
const
{
return
bTab2
;
}
SwMultiPortion
(
sal_Int32
nEnd
)
:
pFldRest
(
0
)
,
bTab1
(
false
)
,
bTab2
(
false
)
,
bDouble
(
false
)
,
bRuby
(
false
)
,
bBidi
(
false
)
,
bTop
(
false
)
,
bFormatted
(
false
)
,
bFollowFld
(
false
)
,
nDirection
(
0
)
,
bFlyInCntnt
(
false
)
{
SetWhichPor
(
POR_MULTI
);
SetLen
(
nEnd
);
}
void
SetDouble
()
{
bDouble
=
sal_True
;
}
void
SetRuby
()
{
bRuby
=
true
;
}
void
SetBidi
()
{
bBidi
=
sal_True
;
}
void
SetTop
(
sal_Bool
bNew
)
{
bTop
=
bNew
;
}
void
SetTab1
(
sal_Bool
bNew
)
{
bTab1
=
bNew
;
}
void
SetTab2
(
sal_Bool
bNew
)
{
bTab2
=
bNew
;
}
void
SetDirection
(
sal_uInt8
nNew
)
{
nDirection
=
nNew
;
}
sal_Bool
GetTab1
()
const
{
return
bTab1
;
}
sal_Bool
GetTab2
()
const
{
return
bTab2
;
}
public
:
~
SwMultiPortion
();
const
SwLineLayout
&
GetRoot
()
const
{
return
aRoot
;
}
...
...
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