From 0159e9e193011053ebe4cc988bd6c740bf232f44 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 4 Nov 2012 16:02:11 +0100 Subject: we don't need to use the indirection here Change-Id: I138f35852951db5411c535b467fb82d844d8f25c --- sc/source/filter/oox/condformatbuffer.cxx | 4 ++-- 1 file 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(CondFormatBuffer::convertToInternalOperator( maModel.mnOperator )); break; case XML_duplicateValues: - eOperator = static_cast(CondFormatBuffer::convertToInternalOperator( XML_duplicateValues )); + eOperator = SC_COND_DUPLICATE; break; case XML_uniqueValues: - eOperator = static_cast(CondFormatBuffer::convertToInternalOperator( XML_uniqueValues )); + eOperator = SC_COND_NOTDUPLICATE; break; case XML_expression: eOperator = SC_COND_DIRECT; -- cgit