summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-03 10:31:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-03 10:31:52 +0100
commit8517b6162e5531e733a0b2ffe8106873d8e0d082 (patch)
tree161d999751987b2013a2b9e3e0b108d456e06b46 /registry
parent027b5e48329b508bd88616fe9dee8646e354480f (diff)
Typo
Change-Id: I8e4f7c5a44bc300913efb68f901b794d8fb385fe
Diffstat (limited to 'registry')
-rw-r--r--registry/tools/reg2bin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/tools/reg2bin.cxx b/registry/tools/reg2bin.cxx
index 862289a07033..7e5001e05d26 100644
--- a/registry/tools/reg2bin.cxx
+++ b/registry/tools/reg2bin.cxx
@@ -975,7 +975,7 @@ sal_uInt64 writeNameNul(osl::File & file, rtl::OUString const & name) {
void writeNameLen(osl::File & file, rtl::OUString const & name) {
rtl::OString ascii(toAscii(name));
- write32(file, name.getLength());
+ write32(file, ascii.getLength());
write(file, ascii.getStr(), ascii.getLength());
}