[Libreoffice-commits] core.git: sc/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 25 19:02:06 UTC 2019


 sc/source/filter/xml/xmlexprt.cxx                |    4 ++--
 sc/source/ui/dataprovider/datatransformation.cxx |    4 ++--
 sc/source/ui/inc/datatransformation.hxx          |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit b5f149b1602091064f1886f0f27c0a2728cc8a3c
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 25 17:33:43 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 25 21:00:33 2019 +0200

    Fix typo in code
    
    "Transfromation"
    
    It passed "make check" on Linux
    
    Change-Id: Ic3aeb82606daaeed6f020085d5ec1c22377ea4d7
    Reviewed-on: https://gerrit.libreoffice.org/78085
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 0372e9f3d418..d420a0d05461 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -4179,7 +4179,7 @@ void ScXMLExport::WriteExternalDataTransformations(const std::vector<std::shared
                 // Number Transformation
                 std::shared_ptr<sc::NumberTransformation> aNumberTransformation = std::dynamic_pointer_cast<sc::NumberTransformation>(itr);
 
-                sc::NUMBER_TRANSFORM_TYPE aNumberTransformType = aNumberTransformation->getNumberTransfromationType();
+                sc::NUMBER_TRANSFORM_TYPE aNumberTransformType = aNumberTransformation->getNumberTransformationType();
 
                 switch ( aNumberTransformType )
                 {
@@ -4258,7 +4258,7 @@ void ScXMLExport::WriteExternalDataTransformations(const std::vector<std::shared
                 // Number Transformation
                 std::shared_ptr<sc::DateTimeTransformation> aDateTimeTransformation = std::dynamic_pointer_cast<sc::DateTimeTransformation>(itr);
 
-                sc::DATETIME_TRANSFORMATION_TYPE aDateTimeTransformationType = aDateTimeTransformation->getDateTimeTransfromationType();
+                sc::DATETIME_TRANSFORMATION_TYPE aDateTimeTransformationType = aDateTimeTransformation->getDateTimeTransformationType();
 
                 switch ( aDateTimeTransformationType )
                 {
diff --git a/sc/source/ui/dataprovider/datatransformation.cxx b/sc/source/ui/dataprovider/datatransformation.cxx
index 5f0346c71496..8e073a382745 100644
--- a/sc/source/ui/dataprovider/datatransformation.cxx
+++ b/sc/source/ui/dataprovider/datatransformation.cxx
@@ -646,7 +646,7 @@ TransformationType NumberTransformation::getTransformationType() const
     return TransformationType::NUMBER_TRANSFORMATION;
 }
 
-NUMBER_TRANSFORM_TYPE NumberTransformation::getNumberTransfromationType() const
+NUMBER_TRANSFORM_TYPE NumberTransformation::getNumberTransformationType() const
 {
     return maType;
 }
@@ -1161,7 +1161,7 @@ TransformationType DateTimeTransformation::getTransformationType() const
     return TransformationType::DATETIME_TRANSFORMATION;
 }
 
-DATETIME_TRANSFORMATION_TYPE DateTimeTransformation::getDateTimeTransfromationType() const
+DATETIME_TRANSFORMATION_TYPE DateTimeTransformation::getDateTimeTransformationType() const
 {
     return maType;
 }
diff --git a/sc/source/ui/inc/datatransformation.hxx b/sc/source/ui/inc/datatransformation.hxx
index 53ddf991233d..9fa167d50289 100644
--- a/sc/source/ui/inc/datatransformation.hxx
+++ b/sc/source/ui/inc/datatransformation.hxx
@@ -150,7 +150,7 @@ class SC_DLLPUBLIC NumberTransformation : public DataTransformation
                              int nPrecision);
         virtual void Transform(ScDocument& rDoc) const override;
         virtual TransformationType getTransformationType() const override;
-        NUMBER_TRANSFORM_TYPE getNumberTransfromationType() const;
+        NUMBER_TRANSFORM_TYPE getNumberTransformationType() const;
         int getPrecision() const;
         const std::set<SCCOL>& getColumn() const;
 };
@@ -178,7 +178,7 @@ class SC_DLLPUBLIC DateTimeTransformation : public DataTransformation
                                const DATETIME_TRANSFORMATION_TYPE rType);
         virtual void Transform(ScDocument& rDoc) const override;
         virtual TransformationType getTransformationType() const override;
-        DATETIME_TRANSFORMATION_TYPE getDateTimeTransfromationType() const;
+        DATETIME_TRANSFORMATION_TYPE getDateTimeTransformationType() const;
         const std::set<SCCOL>& getColumn() const;
 };
 


More information about the Libreoffice-commits mailing list