diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-17 03:11:46 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-05-17 06:48:24 +0200 |
commit | a5f65a5c2836b000bc0b6f92d5a2a3d13133de71 (patch) | |
tree | 3e7707251546db95d61304d36c1ace1a0307b1e1 /sc/source | |
parent | 31719b052740766c43df508999b691af9075aa3d (diff) |
extract code into own method
Change-Id: I13fe9fcdbc056480b7eb66304f9ddef48bab3bd4
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 2369bac99450..4652587a1641 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -913,7 +913,7 @@ ScDataBarInfo* ScDataBarFormat::GetDataBarInfo(const ScAddress& rAddr) const pInfo->mnZero = 0; //calculate the length - if(nValue < 0) + if(nValue < 0 && nMin < 0) { if (nValue < nMin) pInfo->mnLength = -100; |