diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-02-03 23:07:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-02-03 23:07:30 +0100 |
commit | 7b235eec105c963173282e1e3f392c64b069902b (patch) | |
tree | f23b8406c8909230d913907e79435080ab998cd1 | |
parent | e1347c650e4d1d11f37be3121189e0fdeb1f1290 (diff) |
More typos
Change-Id: I7b1bd08d9e5157c4eacb8ee5005c76e93eb32e63
-rw-r--r-- | cppuhelper/source/typedescriptionprovider.cxx | 6 | ||||
-rw-r--r-- | registry/tools/reg2bin.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/typedescriptionprovider.cxx b/cppuhelper/source/typedescriptionprovider.cxx index b45cb3900b98..2d195180b717 100644 --- a/cppuhelper/source/typedescriptionprovider.cxx +++ b/cppuhelper/source/typedescriptionprovider.cxx @@ -1025,7 +1025,7 @@ struct Attribute { rtl::OUString type; bool bound; bool readOnly; - std::vector< rtl::OUString > getExceptions; + std::vector< rtl::OUString > getExceptions; std::vector< rtl::OUString > setExceptions; }; @@ -2501,7 +2501,7 @@ css::uno::Any Provider::getByHierarchicalName(rtl::OUString const & aName) for (sal_uInt32 i = 0; i != n; ++i) { params.push_back(file_->readNameLen(off, &off)); } - n = file_->read32(off + 1); + n = file_->read32(off); if (n > SAL_MAX_INT32) { throw css::uno::DeploymentException( ("broken UNOIDL file: too many members of polymorphic" @@ -2628,7 +2628,7 @@ css::uno::Any Provider::getByHierarchicalName(rtl::OUString const & aName) getExcs.push_back(file_->readNameLen(off, &off)); } std::vector< rtl::OUString > setExcs; - if ((v & 0x02) != 0) { + if ((v & 0x02) == 0) { m = file_->read32(off); if (m > SAL_MAX_INT32) { throw css::uno::DeploymentException( diff --git a/registry/tools/reg2bin.cxx b/registry/tools/reg2bin.cxx index d10ad2a13b9c..b45580947e99 100644 --- a/registry/tools/reg2bin.cxx +++ b/registry/tools/reg2bin.cxx @@ -1092,7 +1092,7 @@ sal_uInt64 writeMap( if (j->bound) { f |= 0x01; } - if (!j->readOnly) { + if (j->readOnly) { f |= 0x02; } write8(file, f); |