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
873f0e07
Kaydet (Commit)
873f0e07
authored
Eki 04, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1242368: Unchecked return value
Change-Id: I6aaad60cf08349aee6c07621764a1a6c071ad2b6
üst
35f66cb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
condformatdlgentry.cxx
sc/source/ui/condformat/condformatdlgentry.cxx
+7
-5
No files found.
sc/source/ui/condformat/condformatdlgentry.cxx
Dosyayı görüntüle @
873f0e07
...
@@ -674,10 +674,6 @@ void SetColorScaleEntryTypes( const ScColorScaleEntry& rEntry, ListBox& rLbType,
...
@@ -674,10 +674,6 @@ void SetColorScaleEntryTypes( const ScColorScaleEntry& rEntry, ListBox& rLbType,
void
SetColorScaleEntry
(
ScColorScaleEntry
*
pEntry
,
const
ListBox
&
rType
,
const
Edit
&
rValue
,
ScDocument
*
pDoc
,
const
ScAddress
&
rPos
,
bool
bDataBar
)
void
SetColorScaleEntry
(
ScColorScaleEntry
*
pEntry
,
const
ListBox
&
rType
,
const
Edit
&
rValue
,
ScDocument
*
pDoc
,
const
ScAddress
&
rPos
,
bool
bDataBar
)
{
{
sal_uInt32
nIndex
=
0
;
double
nVal
=
0
;
SvNumberFormatter
*
pNumberFormatter
=
pDoc
->
GetFormatTable
();
pNumberFormatter
->
IsNumberFormat
(
rValue
.
GetText
(),
nIndex
,
nVal
);
// color scale does not have the automatic entry
// color scale does not have the automatic entry
sal_Int32
nPos
=
rType
.
GetSelectEntryPos
();
sal_Int32
nPos
=
rType
.
GetSelectEntryPos
();
...
@@ -694,7 +690,13 @@ void SetColorScaleEntry( ScColorScaleEntry* pEntry, const ListBox& rType, const
...
@@ -694,7 +690,13 @@ void SetColorScaleEntry( ScColorScaleEntry* pEntry, const ListBox& rType, const
case
COLORSCALE_PERCENTILE
:
case
COLORSCALE_PERCENTILE
:
case
COLORSCALE_VALUE
:
case
COLORSCALE_VALUE
:
case
COLORSCALE_PERCENT
:
case
COLORSCALE_PERCENT
:
pEntry
->
SetValue
(
nVal
);
{
sal_uInt32
nIndex
=
0
;
double
nVal
=
0
;
SvNumberFormatter
*
pNumberFormatter
=
pDoc
->
GetFormatTable
();
(
void
)
pNumberFormatter
->
IsNumberFormat
(
rValue
.
GetText
(),
nIndex
,
nVal
);
pEntry
->
SetValue
(
nVal
);
}
break
;
break
;
case
COLORSCALE_FORMULA
:
case
COLORSCALE_FORMULA
:
pEntry
->
SetFormula
(
rValue
.
GetText
(),
pDoc
,
rPos
);
pEntry
->
SetFormula
(
rValue
.
GetText
(),
pDoc
,
rPos
);
...
...
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