summaryrefslogtreecommitdiff
path: root/sc/inc/colorscale.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-10 06:06:23 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-10 06:49:19 +0200
commit2757c7450de3369872a247cf4876bb1723cc48fa (patch)
tree4bdf7366e8fea812b14caaaa135b552e2f2e4700 /sc/inc/colorscale.hxx
parent8816aa1b8301bce189ee4582fa1b8f04864726a4 (diff)
unify the list box entry handling a bit
Change-Id: Ia42e56dd21567ac65ca952dc66471cfb326a9e1c
Diffstat (limited to 'sc/inc/colorscale.hxx')
-rw-r--r--sc/inc/colorscale.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 7ee92ce09c6e..92f88f3359b4 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -45,15 +45,18 @@ class ScFormulaCell;
class ScTokenArray;
struct ScDataBarInfo;
+// don't change the order
+// they are also used in the dialog to determine the position
+// in the list box
enum ScColorScaleEntryType
{
- COLORSCALE_VALUE,
+ COLORSCALE_AUTO,
COLORSCALE_MIN,
COLORSCALE_MAX,
- COLORSCALE_PERCENT,
COLORSCALE_PERCENTILE,
+ COLORSCALE_VALUE,
+ COLORSCALE_PERCENT,
COLORSCALE_FORMULA,
- COLORSCALE_AUTO,
};
class SC_DLLPUBLIC ScColorScaleEntry