summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-14 05:30:54 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-14 05:33:28 +0200
commit571bbac2c738d96f61464b04e0e63a4fc0531b8d (patch)
tree8f07575c4517f38792ea66e55fcc3050ec3665d2 /sc
parent8d7a4416f5c1ea2610164e533ab17590605adddc (diff)
now we also support axis min length and max length for middle
Change-Id: Ie4ce5906094386d68be46c03d9fb0c75b2663947
Diffstat (limited to 'sc')
-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 37bae8c62d19..cfae7b79c872 100644
--- a/sc/source/ui/condformat/colorformat.cxx
+++ b/sc/source/ui/condformat/colorformat.cxx
@@ -335,7 +335,7 @@ IMPL_LINK_NOARG( ScDataBarSettingsDlg, TypeSelectHdl )
IMPL_LINK_NOARG( ScDataBarSettingsDlg, PosSelectHdl )
{
sal_Int32 axisPos = mpLbAxisPos->GetSelectEntryPos();
- if(axisPos != 2) // disable if axis vertical position is anything other than none
+ if(axisPos != 2 && axisPos != 1) // disable if axis vertical position is automatic
{
mpLenMin->Disable();
mpLenMax->Disable();