summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-10 03:16:02 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-06-11 08:01:26 +0200
commitec961611990a64753be34af2401037d2bf3b1109 (patch)
tree75ce3eed8577727e96dc3018b92abf6a205a4f54 /sc
parentset correct range as title + update for (not) between (diff)
downloadcore-ec961611990a64753be34af2401037d2bf3b1109.tar.gz
core-ec961611990a64753be34af2401037d2bf3b1109.zip
correctly create between/not between entries
Change-Id: I99e553e2e729c46d320f796361b0e04508b63e84
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 1f102f61be18..32869deb65f3 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -636,14 +636,14 @@ ScFormatEntry* ScCondFrmtEntry::createConditionEntry() const
eMode = SC_COND_NOTEQUAL;
break;
case 6:
- aExpr2 = maEdVal1.GetText();
+ aExpr2 = maEdVal2.GetText();
eMode = SC_COND_BETWEEN;
if(aExpr2.isEmpty())
return NULL;
break;
case 7:
eMode = SC_COND_NOTBETWEEN;
- aExpr2 = maEdVal1.GetText();
+ aExpr2 = maEdVal2.GetText();
if(aExpr2.isEmpty())
return NULL;
break;