diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-09-17 14:15:39 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-09-17 14:16:16 +0100 |
commit | c44b8ce27fd5df20b2c871c28cce4cd913551779 (patch) | |
tree | bb4fbe41f82cf9d231d6cb23ff11edd31fca3ad0 /registry | |
parent | be75acefbcca66f2c8e8df203bd2f4c3946daec4 (diff) |
Translate German comments.
Change-Id: I1d7c1fa2fffe20a0bc60cf5533b8f8c28e360a1d
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/keyimpl.cxx | 18 | ||||
-rw-r--r-- | registry/source/regimpl.cxx | 6 | ||||
-rw-r--r-- | registry/source/regimpl.hxx | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index 40f798379657..b4e478673e64 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -381,7 +381,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL return REG_SET_VALUE_FAILED; } - sal_uInt32 size = 4; // 4 Bytes (sal_uInt32) fuer die Laenge + sal_uInt32 size = 4; // 4 bytes (sal_uInt32) for the length size += len * 4; @@ -392,7 +392,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32* pValueL writeUINT32(pBuffer+VALUE_TYPEOFFSET, size); writeUINT32(pBuffer+VALUE_HEADEROFFSET, len); - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array for (sal_uInt32 i=0; i < len; i++) { @@ -440,7 +440,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu return REG_SET_VALUE_FAILED; } - sal_uInt32 size = 4; // 4 Bytes (sal_uInt32) fuer die Laenge + sal_uInt32 size = 4; // 4 bytes (sal_uInt32) for the length sal_uInt32 i; for (i=0; i < len; i++) @@ -455,7 +455,7 @@ RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValu writeUINT32(pBuffer+VALUE_TYPEOFFSET, size); writeUINT32(pBuffer+VALUE_HEADEROFFSET, len); - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array; sal_uInt32 sLen = 0; for (i=0; i < len; i++) @@ -508,7 +508,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p return REG_SET_VALUE_FAILED; } - sal_uInt32 size = 4; // 4 Bytes (sal_uInt32) fuer die Laenge + sal_uInt32 size = 4; // 4 bytes (sal_uInt32) for the length sal_uInt32 i; for (i=0; i < len; i++) @@ -523,7 +523,7 @@ RegError ORegKey::setUnicodeListValue(const OUString& valueName, sal_Unicode** p writeUINT32(pBuffer+VALUE_TYPEOFFSET, size); writeUINT32(pBuffer+VALUE_HEADEROFFSET, len); - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array; sal_uInt32 sLen = 0; for (i=0; i < len; i++) @@ -747,7 +747,7 @@ RegError ORegKey::getLongListValue(const OUString& valueName, sal_Int32** pValue *pLen = len; sal_Int32* pVList = (sal_Int32*)rtl_allocateZeroMemory(len * sizeof(sal_Int32)); - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array; for (sal_uInt32 i = 0; i < len; i++) { @@ -844,7 +844,7 @@ RegError ORegKey::getStringListValue(const OUString& valueName, sal_Char*** pVal *pLen = len; sal_Char** pVList = (sal_Char**)rtl_allocateZeroMemory(len * sizeof(sal_Char*)); - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array; sal_uInt32 sLen = 0; sal_Char *pValue; @@ -950,7 +950,7 @@ RegError ORegKey::getUnicodeListValue(const OUString& valueName, sal_Unicode*** *pLen = len; sal_Unicode** pVList = (sal_Unicode**)rtl_allocateZeroMemory(len * sizeof(sal_Unicode*)); - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays; + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array; sal_uInt32 sLen = 0; sal_Unicode *pValue; diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 9f07d16b2ded..7021f457a1f7 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -1569,7 +1569,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ break; case 5: { - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array sal_uInt32 len = 0; readUINT32(pBuffer, len); @@ -1601,7 +1601,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ break; case 6: { - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array sal_uInt32 sLen = 0; sal_uInt32 len = 0; @@ -1639,7 +1639,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ break; case 7: { - sal_uInt32 offset = 4; // initial 4 Bytes fuer die Laenge des Arrays + sal_uInt32 offset = 4; // initial 4 bytes for the size of the array sal_uInt32 sLen = 0; sal_uInt32 len = 0; diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx index ad751a1c0ca5..3b306c06e98c 100644 --- a/registry/source/regimpl.hxx +++ b/registry/source/regimpl.hxx @@ -43,7 +43,7 @@ #define VALUE_MODE_OPEN store_AccessReadWrite #define VALUE_MODE_OPENREAD store_AccessReadOnly -// 5 Bytes = 1 (Byte fuer den Typ) + 4 (Bytes fuer die Groesse der Daten) +// 5 bytes = 1 (byte for the type) + 4 (bytes for the size of the data) #define VALUE_HEADERSIZE 5 #define VALUE_TYPEOFFSET 1 #define VALUE_HEADEROFFSET 5 |