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
3e49d728
Kaydet (Commit)
3e49d728
authored
Ara 15, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning in chart2/
Change-Id: I1f8fcdd78029344c735cd4364c8b081d692e2f4e
üst
255528ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
res_Trendline.cxx
chart2/source/controller/dialogs/res_Trendline.cxx
+1
-2
tp_AxisLabel.cxx
chart2/source/controller/dialogs/tp_AxisLabel.cxx
+2
-3
tp_PointGeometry.cxx
chart2/source/controller/dialogs/tp_PointGeometry.cxx
+1
-2
No files found.
chart2/source/controller/dialogs/res_Trendline.cxx
Dosyayı görüntüle @
3e49d728
...
@@ -171,9 +171,8 @@ IMPL_LINK( TrendlineResources, SelectTrendLine, RadioButton *, pRadioButton )
...
@@ -171,9 +171,8 @@ IMPL_LINK( TrendlineResources, SelectTrendLine, RadioButton *, pRadioButton )
void
TrendlineResources
::
Reset
(
const
SfxItemSet
&
rInAttrs
)
void
TrendlineResources
::
Reset
(
const
SfxItemSet
&
rInAttrs
)
{
{
const
SfxPoolItem
*
pPoolItem
=
NULL
;
const
SfxPoolItem
*
pPoolItem
=
NULL
;
SfxItemState
aState
=
SFX_ITEM_UNKNOWN
;
aState
=
rInAttrs
.
GetItemState
(
SCHATTR_REGRESSION_TYPE
,
sal_True
,
&
pPoolItem
);
SfxItemState
aState
=
rInAttrs
.
GetItemState
(
SCHATTR_REGRESSION_TYPE
,
sal_True
,
&
pPoolItem
);
m_bTrendLineUnique
=
(
aState
!=
SFX_ITEM_DONTCARE
);
m_bTrendLineUnique
=
(
aState
!=
SFX_ITEM_DONTCARE
);
if
(
aState
==
SFX_ITEM_SET
)
if
(
aState
==
SFX_ITEM_SET
)
{
{
...
...
chart2/source/controller/dialogs/tp_AxisLabel.cxx
Dosyayı görüntüle @
3e49d728
...
@@ -151,10 +151,9 @@ sal_Bool SchAxisLabelTabPage::FillItemSet( SfxItemSet& rOutAttrs )
...
@@ -151,10 +151,9 @@ sal_Bool SchAxisLabelTabPage::FillItemSet( SfxItemSet& rOutAttrs )
void
SchAxisLabelTabPage
::
Reset
(
const
SfxItemSet
&
rInAttrs
)
void
SchAxisLabelTabPage
::
Reset
(
const
SfxItemSet
&
rInAttrs
)
{
{
const
SfxPoolItem
*
pPoolItem
=
NULL
;
const
SfxPoolItem
*
pPoolItem
=
NULL
;
SfxItemState
aState
=
SFX_ITEM_UNKNOWN
;
// show description
----------
// show description
aState
=
rInAttrs
.
GetItemState
(
SCHATTR_AXIS_SHOWDESCR
,
sal_False
,
&
pPoolItem
);
SfxItemState
aState
=
rInAttrs
.
GetItemState
(
SCHATTR_AXIS_SHOWDESCR
,
sal_False
,
&
pPoolItem
);
if
(
aState
==
SFX_ITEM_DONTCARE
)
if
(
aState
==
SFX_ITEM_DONTCARE
)
{
{
aCbShowDescription
.
EnableTriState
(
sal_True
);
aCbShowDescription
.
EnableTriState
(
sal_True
);
...
...
chart2/source/controller/dialogs/tp_PointGeometry.cxx
Dosyayı görüntüle @
3e49d728
...
@@ -60,10 +60,9 @@ sal_Bool SchLayoutTabPage::FillItemSet(SfxItemSet& rOutAttrs)
...
@@ -60,10 +60,9 @@ sal_Bool SchLayoutTabPage::FillItemSet(SfxItemSet& rOutAttrs)
if
(
m_pGeometryResources
&&
m_pGeometryResources
->
GetSelectEntryCount
())
if
(
m_pGeometryResources
&&
m_pGeometryResources
->
GetSelectEntryCount
())
{
{
long
nShape
=
CHART_SHAPE3D_SQUARE
;
long
nSegs
=
32
;
long
nSegs
=
32
;
nShape
=
m_pGeometryResources
->
GetSelectEntryPos
();
long
nShape
=
m_pGeometryResources
->
GetSelectEntryPos
();
if
(
nShape
==
CHART_SHAPE3D_PYRAMID
)
if
(
nShape
==
CHART_SHAPE3D_PYRAMID
)
nSegs
=
4
;
nSegs
=
4
;
...
...
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