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

Chris Sherlock chris.sherlock79 at gmail.com
Fri May 26 18:48:13 UTC 2017


 registry/source/regimpl.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 94844e60fc7d57352333d78f10bd47fae8adf6f5
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Fri May 26 22:25:23 2017 +1000

    tdf#39468: translate German to English in registry's regimpl.cxx
    
    Change-Id: Ibda59217728c9c959c4648d73005770d27644b77
    Reviewed-on: https://gerrit.libreoffice.org/38069
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index aaf9f8f4f164..5499e7b5c7da 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -1526,7 +1526,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
                         stdout, "%lu = %ld\n",
                         sal::static_int_cast< unsigned long >(i),
                         sal::static_int_cast< long >(longValue));
-                    offset += 4; // 4 Bytes fuer sal_Int32
+                    offset += 4; // 4 Bytes for sal_Int32
                 }
             }
             break;
@@ -1551,7 +1551,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
                 {
                     readUINT32(pBuffer+offset, sLen);
 
-                    offset += 4; // 4 Bytes (sal_uInt32) fuer die Groesse des strings in Bytes
+                    offset += 4; // 4 bytes (sal_uInt32) for the string size
 
                     sal_Char *pValue = static_cast<sal_Char*>(rtl_allocateMemory(sLen));
                     readUtf8(pBuffer+offset, pValue, sLen);
@@ -1589,7 +1589,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_
                 {
                     readUINT32(pBuffer+offset, sLen);
 
-                    offset += 4; // 4 Bytes (sal_uInt32) fuer die Groesse des strings in Bytes
+                    offset += 4; // 4 bytes (sal_uInt32) for the string size
 
                     sal_Unicode *pValue = static_cast<sal_Unicode*>(rtl_allocateMemory((sLen / 2) * sizeof(sal_Unicode)));
                     readString(pBuffer+offset, pValue, sLen);


More information about the Libreoffice-commits mailing list