summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-10-04 14:42:28 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-10-04 15:08:13 -0500
commit35f66cb2f2fb4316e52fa579c3629071088b3f40 (patch)
tree740703d5b0675b6bc31c7d03b92b402764d8a934 /sc/source
parent22ca3bf1b9dedec65a57ac70a124bf69cd242e0e (diff)
coverity#1242369: Unchecked return value
Change-Id: Ib5a938d9a8a0ac1f2f5dfb299c948951bb845349
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/condformat/colorformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx
index b3fa94ebe8ee..4590ea3c623b 100644
--- a/sc/source/ui/condformat/colorformat.cxx
+++ b/sc/source/ui/condformat/colorformat.cxx
@@ -39,7 +39,7 @@ void GetType(const ListBox& rLstBox, const Edit& rEd, ScColorScaleEntry* pEntry,
case COLORSCALE_PERCENTILE:
case COLORSCALE_VALUE:
case COLORSCALE_PERCENT:
- pNumberFormatter->IsNumberFormat( rEd.GetText(), nIndex, nVal );
+ (void)pNumberFormatter->IsNumberFormat( rEd.GetText(), nIndex, nVal );
pEntry->SetValue(nVal);
break;
case COLORSCALE_FORMULA: