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
ece88aed
Kaydet (Commit)
ece88aed
authored
Şub 01, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#984155 : Uninitialized scalar field
Change-Id: I02d2ef35d6d66faf8bc0e7431116ece03e2605fd
üst
c1487cf7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
29 deletions
+52
-29
htmltbl.cxx
sw/source/core/doc/htmltbl.cxx
+52
-29
No files found.
sw/source/core/doc/htmltbl.cxx
Dosyayı görüntüle @
ece88aed
...
...
@@ -164,35 +164,58 @@ SwHTMLTableLayoutConstraints *SwHTMLTableLayoutConstraints::InsertNext(
typedef
SwHTMLTableLayoutColumn
*
SwHTMLTableLayoutColumnPtr
;
typedef
SwHTMLTableLayoutCell
*
SwHTMLTableLayoutCellPtr
;
SwHTMLTableLayout
::
SwHTMLTableLayout
(
const
SwTable
*
pSwTbl
,
sal_uInt16
nRws
,
sal_uInt16
nCls
,
bool
bColsOpt
,
bool
bColTgs
,
sal_uInt16
nWdth
,
bool
bPrcWdth
,
sal_uInt16
nBorderOpt
,
sal_uInt16
nCellPad
,
sal_uInt16
nCellSp
,
SvxAdjust
eAdjust
,
sal_uInt16
nLMargin
,
sal_uInt16
nRMargin
,
sal_uInt16
nBWidth
,
sal_uInt16
nLeftBWidth
,
sal_uInt16
nRightBWidth
,
sal_uInt16
nInhLeftBWidth
,
sal_uInt16
nInhRightBWidth
)
:
aColumns
(
new
SwHTMLTableLayoutColumnPtr
[
nCls
]
),
aCells
(
new
SwHTMLTableLayoutCellPtr
[
nRws
*
nCls
]
),
pSwTable
(
pSwTbl
),
pLeftFillerBox
(
0
),
pRightFillerBox
(
0
),
nMin
(
0
),
nMax
(
0
),
nRows
(
nRws
),
nCols
(
nCls
),
nLeftMargin
(
nLMargin
),
nRightMargin
(
nRMargin
),
nInhAbsLeftSpace
(
0
),
nInhAbsRightSpace
(
0
),
nRelLeftFill
(
0
),
nRelRightFill
(
0
),
nRelTabWidth
(
0
),
nWidthOption
(
nWdth
),
nCellPadding
(
nCellPad
),
nCellSpacing
(
nCellSp
),
nBorder
(
nBorderOpt
),
nLeftBorderWidth
(
nLeftBWidth
),
nRightBorderWidth
(
nRightBWidth
),
nInhLeftBorderWidth
(
nInhLeftBWidth
),
nInhRightBorderWidth
(
nInhRightBWidth
),
nBorderWidth
(
nBWidth
),
nDelayedResizeAbsAvail
(
0
),
nLastResizeAbsAvail
(
0
),
nPass1Done
(
0
),
nWidthSet
(
0
),
eTableAdjust
(
eAdjust
),
bColsOption
(
bColsOpt
),
bColTags
(
bColTgs
),
bPrcWidthOption
(
bPrcWdth
),
bUseRelWidth
(
false
),
bMustResize
(
sal_True
),
bExportable
(
sal_True
),
bBordersChanged
(
sal_False
),
bMustNotResize
(
sal_False
),
bMustNotRecalc
(
sal_False
)
SwHTMLTableLayout
::
SwHTMLTableLayout
(
const
SwTable
*
pSwTbl
,
sal_uInt16
nRws
,
sal_uInt16
nCls
,
bool
bColsOpt
,
bool
bColTgs
,
sal_uInt16
nWdth
,
bool
bPrcWdth
,
sal_uInt16
nBorderOpt
,
sal_uInt16
nCellPad
,
sal_uInt16
nCellSp
,
SvxAdjust
eAdjust
,
sal_uInt16
nLMargin
,
sal_uInt16
nRMargin
,
sal_uInt16
nBWidth
,
sal_uInt16
nLeftBWidth
,
sal_uInt16
nRightBWidth
,
sal_uInt16
nInhLeftBWidth
,
sal_uInt16
nInhRightBWidth
)
:
aColumns
(
new
SwHTMLTableLayoutColumnPtr
[
nCls
]
)
,
aCells
(
new
SwHTMLTableLayoutCellPtr
[
nRws
*
nCls
]
)
,
pSwTable
(
pSwTbl
)
,
pLeftFillerBox
(
0
)
,
pRightFillerBox
(
0
)
,
nMin
(
0
)
,
nMax
(
0
)
,
nRows
(
nRws
)
,
nCols
(
nCls
)
,
nLeftMargin
(
nLMargin
)
,
nRightMargin
(
nRMargin
)
,
nInhAbsLeftSpace
(
0
)
,
nInhAbsRightSpace
(
0
)
,
nRelLeftFill
(
0
)
,
nRelRightFill
(
0
)
,
nRelTabWidth
(
0
)
,
nWidthOption
(
nWdth
)
,
nCellPadding
(
nCellPad
)
,
nCellSpacing
(
nCellSp
)
,
nBorder
(
nBorderOpt
)
,
nLeftBorderWidth
(
nLeftBWidth
)
,
nRightBorderWidth
(
nRightBWidth
)
,
nInhLeftBorderWidth
(
nInhLeftBWidth
)
,
nInhRightBorderWidth
(
nInhRightBWidth
)
,
nBorderWidth
(
nBWidth
)
,
nDelayedResizeAbsAvail
(
0
)
,
nLastResizeAbsAvail
(
0
)
,
nPass1Done
(
0
)
,
nWidthSet
(
0
)
,
eTableAdjust
(
eAdjust
)
,
bColsOption
(
bColsOpt
)
,
bColTags
(
bColTgs
)
,
bPrcWidthOption
(
bPrcWdth
)
,
bUseRelWidth
(
false
)
,
bMustResize
(
sal_True
)
,
bExportable
(
sal_True
)
,
bBordersChanged
(
sal_False
)
,
bMayBeInFlyFrame
(
sal_False
)
,
bDelayedResizeRecalc
(
sal_False
)
,
bMustNotResize
(
sal_False
)
,
bMustNotRecalc
(
sal_False
)
{
aResizeTimer
.
SetTimeoutHdl
(
STATIC_LINK
(
this
,
SwHTMLTableLayout
,
DelayedResize_Impl
)
);
...
...
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