From b48950d8b326d29891b809434fd862e960e2ec99 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 23 Nov 2017 16:22:38 +0200 Subject: Convert ScConditionMode to scoped enum Change-Id: I9b6aaa64e7f649581b27f0238e2908026ab6e0bd Reviewed-on: https://gerrit.libreoffice.org/45157 Tested-by: Jenkins Reviewed-by: Tor Lillqvist --- sc/source/filter/inc/condformatbuffer.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/source/filter/inc/condformatbuffer.hxx') diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx index 02845bc229f5..90212c8653fa 100644 --- a/sc/source/filter/inc/condformatbuffer.hxx +++ b/sc/source/filter/inc/condformatbuffer.hxx @@ -23,6 +23,7 @@ #include "formulaparser.hxx" #include "worksheethelper.hxx" #include +#include #include #include @@ -296,7 +297,7 @@ public: /** Converts an OOXML condition operator token to the API constant. */ static sal_Int32 convertToApiOperator( sal_Int32 nToken ); - static sal_Int32 convertToInternalOperator( sal_Int32 nToken ); + static ScConditionMode convertToInternalOperator( sal_Int32 nToken ); void finalizeImport(); private: CondFormatRef createCondFormat(); -- cgit