Kaydet (Commit) 7b235eec authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More typos

Change-Id: I7b1bd08d9e5157c4eacb8ee5005c76e93eb32e63
üst e1347c65
...@@ -1025,7 +1025,7 @@ struct Attribute { ...@@ -1025,7 +1025,7 @@ struct Attribute {
rtl::OUString type; rtl::OUString type;
bool bound; bool bound;
bool readOnly; bool readOnly;
std::vector< rtl::OUString > getExceptions; std::vector< rtl::OUString > getExceptions;
std::vector< rtl::OUString > setExceptions; std::vector< rtl::OUString > setExceptions;
}; };
...@@ -2501,7 +2501,7 @@ css::uno::Any Provider::getByHierarchicalName(rtl::OUString const & aName) ...@@ -2501,7 +2501,7 @@ css::uno::Any Provider::getByHierarchicalName(rtl::OUString const & aName)
for (sal_uInt32 i = 0; i != n; ++i) { for (sal_uInt32 i = 0; i != n; ++i) {
params.push_back(file_->readNameLen(off, &off)); params.push_back(file_->readNameLen(off, &off));
} }
n = file_->read32(off + 1); n = file_->read32(off);
if (n > SAL_MAX_INT32) { if (n > SAL_MAX_INT32) {
throw css::uno::DeploymentException( throw css::uno::DeploymentException(
("broken UNOIDL file: too many members of polymorphic" ("broken UNOIDL file: too many members of polymorphic"
...@@ -2628,7 +2628,7 @@ css::uno::Any Provider::getByHierarchicalName(rtl::OUString const & aName) ...@@ -2628,7 +2628,7 @@ css::uno::Any Provider::getByHierarchicalName(rtl::OUString const & aName)
getExcs.push_back(file_->readNameLen(off, &off)); getExcs.push_back(file_->readNameLen(off, &off));
} }
std::vector< rtl::OUString > setExcs; std::vector< rtl::OUString > setExcs;
if ((v & 0x02) != 0) { if ((v & 0x02) == 0) {
m = file_->read32(off); m = file_->read32(off);
if (m > SAL_MAX_INT32) { if (m > SAL_MAX_INT32) {
throw css::uno::DeploymentException( throw css::uno::DeploymentException(
......
...@@ -1092,7 +1092,7 @@ sal_uInt64 writeMap( ...@@ -1092,7 +1092,7 @@ sal_uInt64 writeMap(
if (j->bound) { if (j->bound) {
f |= 0x01; f |= 0x01;
} }
if (!j->readOnly) { if (j->readOnly) {
f |= 0x02; f |= 0x02;
} }
write8(file, f); write8(file, f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment