summaryrefslogtreecommitdiffstats
path: root/binaryurp/source/reader.cxx
diff options
context:
space:
mode:
authorBenjamin Ni <benjaminniri@hotmail.com>2015-09-25 11:41:53 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-02 23:40:57 +0100
commitbe729e772196f33543e21cb9bac21add87726b20 (patch)
treef2150f458e2b07f8924b4702d37c09c8dd52215a /binaryurp/source/reader.cxx
parentNo need for this debug code (diff)
downloadcore-be729e772196f33543e21cb9bac21add87726b20.tar.gz
core-be729e772196f33543e21cb9bac21add87726b20.zip
tdf#94269: Replace "n" prefix for bool variables with "b"
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'binaryurp/source/reader.cxx')
-rw-r--r--binaryurp/source/reader.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx
index d4b407438d8f..eed96ae9f431 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -231,14 +231,14 @@ void Reader::readMessage(Unmarshal & unmarshal) {
("superfluous MUSTREPLY/SYNCHRONOUS ignored in request message with"
" non-oneway function ID"));
bool synchronous = !oneWay || forceSynchronous;
- bool setter = false;
+ bool bSetter = false;
std::vector< BinaryAny > inArgs;
switch (memberTd.get()->eTypeClass) {
case typelib_TypeClass_INTERFACE_ATTRIBUTE:
- setter = itd->pMapMemberIndexToFunctionIndex[memberId] != functionId;
+ bSetter = itd->pMapMemberIndexToFunctionIndex[memberId] != functionId;
// pMapMemberIndexToFunctionIndex contains function index of
// attribute getter
- if (setter) {
+ if (bSetter) {
inArgs.push_back(
unmarshal.readValue(
css::uno::TypeDescription(
@@ -330,7 +330,7 @@ void Reader::readMessage(Unmarshal & unmarshal) {
std::unique_ptr< IncomingRequest > req(
new IncomingRequest(
bridge_, tid, oid, obj, type, functionId, synchronous, memberTd,
- setter, inArgs, ccMode, cc));
+ bSetter, inArgs, ccMode, cc));
if (synchronous) {
bridge_->incrementActiveCalls();
}
@@ -386,18 +386,18 @@ void Reader::readReplyMessage(Unmarshal & unmarshal, sal_uInt8 flags1) {
assert(false); // this cannot happen
break;
}
- bool ok = false;
+ bool bOk = false;
for (sal_Int32 i = 0; i != n; ++i) {
if (typelib_typedescriptionreference_isAssignableFrom(
p[i],
reinterpret_cast< typelib_TypeDescriptionReference * >(
ret.getType().get())))
{
- ok = true;
+ bOk = true;
break;
}
}
- if (!ok) {
+ if (!bOk) {
throw css::uno::RuntimeException(
"URP: reply message with bad exception type received");
}