[Libreoffice-commits] core.git: sal/osl vcl/unx

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 31 08:23:57 UTC 2021


 sal/osl/w32/file_url.cxx     |    4 ++--
 vcl/unx/gtk3/gtk3gtkinst.cxx |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c0a91ae8f45bc340918a5b2bac41a0f3db5ee61a
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Jan 30 19:30:58 2021 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Jan 31 09:23:21 2021 +0100

    Fix typos
    
    Change-Id: Id81d2876dc6ead2de03c21e35b7940fee35bc773
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110176
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx
index c2094f568edd..b0b266e0d40e 100644
--- a/sal/osl/w32/file_url.cxx
+++ b/sal/osl/w32/file_url.cxx
@@ -436,7 +436,7 @@ static DWORD GetCaseCorrectPathNameEx(
 
             PathAddBackslash( lpszPath, cchBuffer );
 
-            /* Analyze parent if not only a trailing backslash was cutted but a real file spec */
+            /* Analyze parent if not only a trailing backslash was cut but a real file spec */
             if ( !bSkipThis )
             {
                 if ( bCheckExistence )
@@ -1016,7 +1016,7 @@ OUString combinePath(rtl_uString* basePath, const sal_Unicode* relPath)
     const bool needSep = basePath->buffer[basePath->length - 1] != '\\' && relPath[0] != '\\';
     const auto sSeparator = needSep ? std::u16string_view(u"\\") : std::u16string_view();
     if (basePath->buffer[basePath->length - 1] == '\\' && relPath[0] == '\\')
-        ++relPath; // avoid two agjacent backslashes
+        ++relPath; // avoid two adjacent backslashes
     return OUString::unacquired(&basePath) + sSeparator + relPath;
 }
 }
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 735a8fd24e68..12dc1b224ebf 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -6035,8 +6035,8 @@ public:
         }
 
         m_pScrollBarCssProvider = gtk_css_provider_new();
-        OUString aBuffer = "scrollbar contents trough { background-color: #" + rBackgroundColor.AsRGBHexString() + "; } "
-                           "scrollbar contents trough slider { background-color: #" + rShadowColor.AsRGBHexString() + "; } "
+        OUString aBuffer = "scrollbar contents through { background-color: #" + rBackgroundColor.AsRGBHexString() + "; } "
+                           "scrollbar contents through slider { background-color: #" + rShadowColor.AsRGBHexString() + "; } "
                            "scrollbar contents button { background-color: #" + rFaceColor.AsRGBHexString() + "; } "
                            "scrollbar contents button { color: #000000; } "
                            "scrollbar contents button:disabled { color: #7f7f7f; }";


More information about the Libreoffice-commits mailing list