diff options
Diffstat (limited to 'registry')
-rw-r--r-- | registry/tools/reg2bin.cxx | 2 |
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()); } |