diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 13:09:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 08:41:11 +0200 |
commit | 95600edeaf48a80a1e84c44b37f4035bc4db3070 (patch) | |
tree | ed62af7a330438526d33ece26606811de365d7ee /unoidl/source/legacyprovider.cxx | |
parent | 1f34524746a0849ee2c76241d7ac6934110009fe (diff) |
convert RegValueType to scoped enum
Change-Id: Ic672e75db4d7323760577b19490ffa28d38965b6
Diffstat (limited to 'unoidl/source/legacyprovider.cxx')
-rw-r--r-- | unoidl/source/legacyprovider.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx index 9d5675805dbc..e7bd73b17647 100644 --- a/unoidl/source/legacyprovider.cxx +++ b/unoidl/source/legacyprovider.cxx @@ -174,10 +174,10 @@ typereg::Reader getReader(RegistryKey & key, std::vector< char > * buffer) { ("legacy format: cannot get value info about key " + key.getName() + ": " + OUString::number(e))); } - if (type != RG_VALUETYPE_BINARY) { + if (type != RegValueType::BINARY) { throw FileFormatException( key.getRegistryName(), - ("legacy format: unexpected value type " + OUString::number(type) + ("legacy format: unexpected value type " + OUString::number(static_cast<int>(type)) + " of key " + key.getName())); } if (size == 0 |