diff options
-rw-r--r-- | oox/source/drawingml/customshapegeometry.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx index c24f35abd4e9..5f21bd12c39d 100644 --- a/oox/source/drawingml/customshapegeometry.cxx +++ b/oox/source/drawingml/customshapegeometry.cxx @@ -40,7 +40,7 @@ namespace oox::drawingml { namespace { -enum FormularCommand +enum FormulaCommand { FC_MULDIV = 0, FC_PLUSMINUS, @@ -62,15 +62,15 @@ enum FormularCommand FC_VAL }; -struct FormularCommandNameTable +struct FormulaCommandNameTable { const char* pS; - FormularCommand pE; + FormulaCommand pE; }; } -static const FormularCommandNameTable pFormularCommandNameTable[] = +static const FormulaCommandNameTable pFormulaCommandNameTable[] = { { "*/", FC_MULDIV }, { "+-", FC_PLUSMINUS }, @@ -92,7 +92,7 @@ static const FormularCommandNameTable pFormularCommandNameTable[] = { "val", FC_VAL } }; -typedef std::unordered_map< OUString, FormularCommand > FormulaCommandHMap; +typedef std::unordered_map< OUString, FormulaCommand > FormulaCommandHMap; static const FormulaCommandHMap* pCommandHashMap; @@ -454,7 +454,7 @@ static OUString convertToOOEquation( CustomShapeProperties& rCustomShapeProperti if ( !pCommandHashMap ) { FormulaCommandHMap* pHM = new FormulaCommandHMap; - for(const FormularCommandNameTable& i : pFormularCommandNameTable) + for(const FormulaCommandNameTable& i : pFormulaCommandNameTable) (*pHM)[ OUString::createFromAscii( i.pS ) ] = i.pE; pCommandHashMap = pHM; } |