summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-03 23:07:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-03 23:07:30 +0100
commit7b235eec105c963173282e1e3f392c64b069902b (patch)
treef23b8406c8909230d913907e79435080ab998cd1 /cppuhelper
parente1347c650e4d1d11f37be3121189e0fdeb1f1290 (diff)
More typos
Change-Id: I7b1bd08d9e5157c4eacb8ee5005c76e93eb32e63
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/typedescriptionprovider.cxx6
1 files changed, 3 insertions, 3 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(