diff options
author | Johnny_M <klasse@partyheld.de> | 2020-03-13 12:56:44 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-03-23 14:00:59 +0100 |
commit | 49da80b9620953a0895d11d3d8629b982ebe6a0a (patch) | |
tree | 2d2432717ded34ed2d8aa972853bd82901c555a0 /oox/source/drawingml | |
parent | 00bf7320580bd4a8f8d640bb75ae819acc6499a3 (diff) |
Fix spelling of variable
Formular -> Formula
(Found when working on variable translation in
c212e295c589695c9da0c21914fb30b6af5909d6.)
Change-Id: I9409598670eabdd6ebb1ea1cb0ccc4d9d6292f8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90464
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'oox/source/drawingml')
-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; } |