summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-17 11:34:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-17 11:21:59 +0000
commit0ed7ec1b44edd88037b7b822a49042c4af299491 (patch)
tree23670501e8991eeef0f65d9c8bfc394125557911 /unoidl
parentdb93b92d78714ed193b3cbe52b18e3cfd9da99b8 (diff)
loplugin:constantparam in registry
Change-Id: Ic3c60325a722422912d06fe21d072c5f5c4bccb1 Reviewed-on: https://gerrit.libreoffice.org/23322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/legacyprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index 7edcdb6b2279..bf96504f7e1a 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -196,7 +196,7 @@ typereg::Reader getReader(RegistryKey & key, std::vector< char > * buffer) {
("legacy format: cannot get binary value of key " + key.getName()
+ ": " + OUString::number(static_cast<int>(e))));
}
- typereg::Reader reader(&(*buffer)[0], size, false, TYPEREG_VERSION_1);
+ typereg::Reader reader(&(*buffer)[0], size);
if (!reader.isValid()) {
throw FileFormatException(
key.getRegistryName(),