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
c1a55709
Kaydet (Commit)
c1a55709
authored
Nis 29, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1210202 Uninitialized pointer field
Change-Id: If364402a0cb304e2109c2c5792847639c15b1b5c
üst
a9dde7c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
tabledlg.cxx
sw/source/ui/table/tabledlg.cxx
+13
-12
No files found.
sw/source/ui/table/tabledlg.cxx
Dosyayı görüntüle @
c1a55709
...
...
@@ -711,6 +711,7 @@ int SwFormatTablePage::DeactivatePage( SfxItemSet* _pSet )
SwTableColumnPage
::
SwTableColumnPage
(
Window
*
pParent
,
const
SfxItemSet
&
rSet
)
:
SfxTabPage
(
pParent
,
"TableColumnPage"
,
"modules/swriter/ui/tablecolumnpage.ui"
,
rSet
)
,
pTblData
(
0
)
,
nTableWidth
(
0
)
,
nMinWidth
(
MINLAY
)
,
nNoOfCols
(
0
)
...
...
@@ -745,18 +746,18 @@ SwTableColumnPage::SwTableColumnPage(Window* pParent, const SfxItemSet& rSet)
const
SfxPoolItem
*
pItem
;
Init
((
SFX_ITEM_SET
==
rSet
.
GetItemState
(
SID_HTML_MODE
,
false
,
&
pItem
)
&&
((
const
SfxUInt16Item
*
)
pItem
)
->
GetValue
()
&
HTMLMODE_ON
));
}
};
//Description: Page column configuration
SwTableColumnPage
::~
SwTableColumnPage
()
{
}
;
}
SfxTabPage
*
SwTableColumnPage
::
Create
(
Window
*
pParent
,
const
SfxItemSet
&
rAttrSet
)
{
return
new
SwTableColumnPage
(
pParent
,
rAttrSet
);
}
;
}
void
SwTableColumnPage
::
Reset
(
const
SfxItemSet
&
)
{
...
...
@@ -800,7 +801,7 @@ void SwTableColumnPage::Reset( const SfxItemSet& )
}
ActivatePage
(
rSet
);
}
;
}
void
SwTableColumnPage
::
Init
(
sal_Bool
bWeb
)
{
...
...
@@ -825,7 +826,7 @@ void SwTableColumnPage::Init(sal_Bool bWeb)
aLk
=
LINK
(
this
,
SwTableColumnPage
,
ModeHdl
);
m_pModifyTableCB
->
SetClickHdl
(
aLk
);
m_pProportionalCB
->
SetClickHdl
(
aLk
);
}
;
}
IMPL_LINK
(
SwTableColumnPage
,
AutoClickHdl
,
CheckBox
*
,
pBox
)
{
...
...
@@ -863,14 +864,14 @@ IMPL_LINK( SwTableColumnPage, AutoClickHdl, CheckBox *, pBox )
m_pUpBtn
->
Enable
(
aValueTbl
[
MET_FIELDS
-
1
]
<
nNoOfVisibleCols
-
1
);
UpdateCols
(
0
);
return
0
;
}
;
}
IMPL_LINK_INLINE_START
(
SwTableColumnPage
,
UpHdl
,
MetricField
*
,
pEdit
)
{
bModified
=
sal_True
;
ModifyHdl
(
pEdit
);
return
0
;
}
;
}
IMPL_LINK_INLINE_END
(
SwTableColumnPage
,
UpHdl
,
MetricField
*
,
pEdit
)
IMPL_LINK_INLINE_START
(
SwTableColumnPage
,
DownHdl
,
MetricField
*
,
pEdit
)
...
...
@@ -878,7 +879,7 @@ IMPL_LINK_INLINE_START( SwTableColumnPage, DownHdl, MetricField*, pEdit )
bModified
=
sal_True
;
ModifyHdl
(
pEdit
);
return
0
;
}
;
}
IMPL_LINK_INLINE_END
(
SwTableColumnPage
,
DownHdl
,
MetricField
*
,
pEdit
)
IMPL_LINK_INLINE_START
(
SwTableColumnPage
,
LoseFocusHdl
,
MetricField
*
,
pEdit
)
...
...
@@ -889,7 +890,7 @@ IMPL_LINK_INLINE_START( SwTableColumnPage, LoseFocusHdl, MetricField*, pEdit )
ModifyHdl
(
pEdit
);
}
return
0
;
}
;
}
IMPL_LINK_INLINE_END
(
SwTableColumnPage
,
LoseFocusHdl
,
MetricField
*
,
pEdit
)
IMPL_LINK
(
SwTableColumnPage
,
ModeHdl
,
CheckBox
*
,
pBox
)
...
...
@@ -902,7 +903,7 @@ IMPL_LINK( SwTableColumnPage, ModeHdl, CheckBox*, pBox )
m_pModifyTableCB
->
Enable
(
!
bCheck
&&
bModifyTbl
);
}
return
0
;
}
;
}
bool
SwTableColumnPage
::
FillItemSet
(
SfxItemSet
&
)
{
...
...
@@ -920,7 +921,7 @@ bool SwTableColumnPage::FillItemSet( SfxItemSet& )
pTblData
->
SetColsChanged
();
}
return
bModified
;
}
;
}
void
SwTableColumnPage
::
ModifyHdl
(
MetricField
*
pField
)
{
...
...
@@ -945,7 +946,7 @@ void SwTableColumnPage::ModifyHdl( MetricField* pField )
SetVisibleWidth
(
aValueTbl
[
i
],
static_cast
<
SwTwips
>
(
pEdit
->
DenormalizePercent
(
pEdit
->
GetValue
(
FUNIT_TWIP
)))
);
UpdateCols
(
aValueTbl
[
i
]
);
}
;
}
void
SwTableColumnPage
::
UpdateCols
(
sal_uInt16
nAktPos
)
{
...
...
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