summaryrefslogtreecommitdiff
path: root/binaryurp/source/unmarshal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/unmarshal.cxx')
-rw-r--r--binaryurp/source/unmarshal.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryurp/source/unmarshal.cxx b/binaryurp/source/unmarshal.cxx
index eaeb54b471c0..43ddfa87db23 100644
--- a/binaryurp/source/unmarshal.cxx
+++ b/binaryurp/source/unmarshal.cxx
@@ -321,14 +321,14 @@ BinaryAny Unmarshal::readValue(css::uno::TypeDescription const & type) {
type.makeComplete();
typelib_EnumTypeDescription * etd =
reinterpret_cast< typelib_EnumTypeDescription * >(type.get());
- bool found = false;
+ bool bFound = false;
for (sal_Int32 i = 0; i != etd->nEnumValues; ++i) {
if (etd->pEnumValues[i] == v) {
- found = true;
+ bFound = true;
break;
}
}
- if (!found) {
+ if (!bFound) {
throw css::io::IOException(
"binaryurp::Unmarshal: unknown enum value");
}