[Libreoffice-commits] core.git: tools/source vcl/workben

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 1 06:49:47 UTC 2020


 tools/source/misc/extendapplicationenvironment.cxx |    6 +++---
 vcl/workben/commonfuzzer.hxx                       |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit b866b71e2419c8011d969f316a28bd820c56fb5a
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Mon Aug 31 15:59:50 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Sep 1 08:49:07 2020 +0200

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

diff --git a/tools/source/misc/extendapplicationenvironment.cxx b/tools/source/misc/extendapplicationenvironment.cxx
index 0324a7d0d380..13171d8e70ff 100644
--- a/tools/source/misc/extendapplicationenvironment.cxx
+++ b/tools/source/misc/extendapplicationenvironment.cxx
@@ -61,9 +61,9 @@ void extendApplicationEnvironment() {
         if (osl_getExecutableFile(&uri.pData) != osl_Process_E_None) {
             abort();
         }
-        sal_Int32 lastDirSeperatorPos = uri.lastIndexOf('/');
-        if (lastDirSeperatorPos >= 0) {
-            uri = uri.copy(0, lastDirSeperatorPos + 1);
+        sal_Int32 lastDirSeparatorPos = uri.lastIndexOf('/');
+        if (lastDirSeparatorPos >= 0) {
+            uri = uri.copy(0, lastDirSeparatorPos + 1);
         }
         env.append(rtl::Bootstrap::encode(uri));
 #ifdef MACOSX
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index d6c8d5cae634..85808c346f78 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -42,9 +42,9 @@ namespace
         if (osl_getExecutableFile(&uri.pData) != osl_Process_E_None) {
             abort();
         }
-        sal_Int32 lastDirSeperatorPos = uri.lastIndexOf('/');
-        if (lastDirSeperatorPos >= 0) {
-            uri = uri.copy(0, lastDirSeperatorPos + 1);
+        sal_Int32 lastDirSeparatorPos = uri.lastIndexOf('/');
+        if (lastDirSeparatorPos >= 0) {
+            uri = uri.copy(0, lastDirSeparatorPos + 1);
         }
         return uri;
     }


More information about the Libreoffice-commits mailing list