[Libreoffice-commits] core.git: 2 commits - include/basegfx sc/source vcl/headless vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Sep 1 05:43:22 UTC 2018


 include/basegfx/utils/systemdependentdata.hxx |    4 ++--
 sc/source/core/opencl/op_statistical.cxx      |    2 +-
 vcl/headless/svpgdi.cxx                       |    4 ++--
 vcl/source/gdi/salgdilayout.cxx               |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 7632b3b0b916ec9271c58ea68e59d77221c20a96
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 31 08:03:12 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 1 07:43:15 2018 +0200

    Fix typos
    
    Change-Id: I3da548adbbd8b24fe79779bdd8de70bdf7244035
    Reviewed-on: https://gerrit.libreoffice.org/59845
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Jenkins

diff --git a/include/basegfx/utils/systemdependentdata.hxx b/include/basegfx/utils/systemdependentdata.hxx
index 17a0ce44f815..6d4a90d10cda 100755
--- a/include/basegfx/utils/systemdependentdata.hxx
+++ b/include/basegfx/utils/systemdependentdata.hxx
@@ -42,7 +42,7 @@ namespace basegfx
         virtual void endUsage(basegfx::SystemDependentData_SharedPtr& rData) = 0;
         virtual void touchUsage(basegfx::SystemDependentData_SharedPtr& rData) = 0;
 
-        // flush all buffred data (e.g. cleanup/shutdown)
+        // flush all buffered data (e.g. cleanup/shutdown)
         virtual void flushAll() = 0;
     };
 } // end of namespace basegfx
@@ -58,7 +58,7 @@ namespace basegfx
         // is deleted, the corresponding SystemDependentData_WeakPtr will get void.
         // To make this work, a minimal SystemDependentDataManager *has* to hold at
         // least that one SystemDependentData_SharedPtr.
-        // That SystemDependentData_SharedPtr may be (e.g. Timer-based or ressource-based)
+        // That SystemDependentData_SharedPtr may be (e.g. Timer-based or resource-based)
         // be freed then. This minimal implementation does never free it, so all stay valid.
         // The instances may still be removed by endUsage calls, but there is no
         // caching/buffering mechanism involved here at all. It's an example, but
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index fdf2295f367f..e47eb402e40f 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -935,7 +935,7 @@ bool SvpSalGraphics::drawPolyLine(
         return true;
     }
 
-    // Wrap call to static verion of ::drawPolyLine by
+    // Wrap call to static version of ::drawPolyLine by
     // preparing/getting some local data and parameters
     // due to usage in vcl/unx/generic/gdi/salgdi.cxx.
     // This is mainly about extended handling of extents
@@ -1185,7 +1185,7 @@ bool SvpSalGraphics::drawPolyLine(
 
     if(nullptr != pExtents && !pExtents->isEmpty() && !bObjectToDeviceIsIdentity)
     {
-        // transform extents to DeviceCoordiinates if used. These
+        // transform extents to DeviceCoordinates if used. These
         // were calculated with ObjectToDevice transformation actively set,
         // but use DeviceCoordinates locally
         pExtents->transform(rObjectToDevice);
commit 4977b95a69fbcefb4cf415cdfb86665e5d6b5abb
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 31 20:20:18 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 1 07:43:02 2018 +0200

    Fix typos
    
    Change-Id: I886178782ebfaaa90b7b14be529210dcbee4dd7a
    Reviewed-on: https://gerrit.libreoffice.org/59883
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/core/opencl/op_statistical.cxx b/sc/source/core/opencl/op_statistical.cxx
index 26495f90f852..afe9de6a5ee8 100644
--- a/sc/source/core/opencl/op_statistical.cxx
+++ b/sc/source/core/opencl/op_statistical.cxx
@@ -3514,7 +3514,7 @@ void OpGeoMean::GenSlidingWindowFunction(
             ss << "            current_count += count_buf[0];\n";
             ss << "        }\n";
              //  ss << "if(writePos == 14 && lidx ==0)\n";
-            //ss <<"printf(\"\\n********************sum is  is %f, count is%d\",current_sum,current_count);\n";
+            //ss <<"printf(\"\\n********************sum is %f, count is%d\",current_sum,current_count);\n";
             ss << "        barrier(CLK_LOCAL_MEM_FENCE);\n";
             ss << "    }\n";
         }else
diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx
index 64fba8edf01d..7136860c583a 100644
--- a/vcl/source/gdi/salgdilayout.cxx
+++ b/vcl/source/gdi/salgdilayout.cxx
@@ -477,7 +477,7 @@ const basegfx::B2DHomMatrix& SalGraphics::getMirror( const OutputDevice* i_pOutD
                 //      // mirror this window back
                 //      double devX = w-i_pOutDev->GetOutputWidthPixel()-i_pOutDev->GetOutOffXPixel();   // re-mirrored mnOutOffX
                 //      aRet.setX( devX + (i_rPoint.getX() - i_pOutDev->GetOutOffXPixel()) );
-                // I do not reaaly understand the comment 'mirror this window back', so cannot guarantee
+                // I do not really understand the comment 'mirror this window back', so cannot guarantee
                 // that this works as before, but I have reduced this (by re-placing and re-formatting) to
                 // a simple translation:
                 const_cast<SalGraphics*>(this)->m_aLastMirror = basegfx::utils::createTranslateB2DHomMatrix(
@@ -513,7 +513,7 @@ basegfx::B2DHomMatrix SalGraphics::mirror( const basegfx::B2DHomMatrix& i_rMatri
     const basegfx::B2DHomMatrix& rMirror(getMirror(pOutDev));
 
     // Apply mirror to given matrix by multiply from left ('after' i_rMatrix).
-    // Identity chechs and fast-paths are in the operator
+    // Identity checks and fast-paths are in the operator
     return rMirror * i_rMatrix;
 }
 


More information about the Libreoffice-commits mailing list