summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-04 16:02:11 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-04 16:33:17 +0100
commit0159e9e193011053ebe4cc988bd6c740bf232f44 (patch)
treeb80bf3fe73953a547bbcc89c478703d8eabe3673
parent491abc60c1ea0d708173d3614e9097b01a67f607 (diff)
we don't need to use the indirection here
Change-Id: I138f35852951db5411c535b467fb82d844d8f25c
-rw-r--r--sc/source/filter/oox/condformatbuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
index a622ef599eb3..7840be18e145 100644
--- a/sc/source/filter/oox/condformatbuffer.cxx
+++ b/sc/source/filter/oox/condformatbuffer.cxx
@@ -666,10 +666,10 @@ void CondFormatRule::finalizeImport()
eOperator = static_cast<ScConditionMode>(CondFormatBuffer::convertToInternalOperator( maModel.mnOperator ));
break;
case XML_duplicateValues:
- eOperator = static_cast<ScConditionMode>(CondFormatBuffer::convertToInternalOperator( XML_duplicateValues ));
+ eOperator = SC_COND_DUPLICATE;
break;
case XML_uniqueValues:
- eOperator = static_cast<ScConditionMode>(CondFormatBuffer::convertToInternalOperator( XML_uniqueValues ));
+ eOperator = SC_COND_NOTDUPLICATE;
break;
case XML_expression:
eOperator = SC_COND_DIRECT;