summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-11 03:48:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-10-11 04:39:27 +0200
commit68a60bc98a6ad2467a17a917881745cf9310e90f (patch)
tree696389c4f53de2434b305b6c14b8db8ae7531fb9 /sc
parentb4f430074cfce0bda32dddfb4d0251ea5aec83ab (diff)
dat bars should use automatic as default
Change-Id: I67fe25cb62d701d7267932923e94f10e44853ac4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 865cfcc0d557..fa47cc06691b 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -980,8 +980,8 @@ void ScDataBarFrmtEntry::Init()
mpDataBarData.reset(new ScDataBarFormatData());
mpDataBarData->mpUpperLimit.reset(new ScColorScaleEntry());
mpDataBarData->mpLowerLimit.reset(new ScColorScaleEntry());
- mpDataBarData->mpLowerLimit->SetType(COLORSCALE_MIN);
- mpDataBarData->mpUpperLimit->SetType(COLORSCALE_MAX);
+ mpDataBarData->mpLowerLimit->SetType(COLORSCALE_AUTO);
+ mpDataBarData->mpUpperLimit->SetType(COLORSCALE_AUTO);
mpDataBarData->maPositiveColor = COL_LIGHTBLUE;
}