summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-07-29 13:42:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-29 19:11:23 +0200
commit72b099d279e7096d41a04fe8c0dd493a5fc18a33 (patch)
tree3440e8330863e83c4050d56948135e749c0f8216 /sal/rtl
parent0955eb65b6302a072fd9b55b9cd09b62ab5dcd43 (diff)
bChanged can be bool
Change-Id: I7d3f6af5410d93537b6b7a704615f43860160320 Reviewed-on: https://gerrit.libreoffice.org/58278 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/strtmpl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sal/rtl/strtmpl.cxx b/sal/rtl/strtmpl.cxx
index af3a28cbfec2..341a84d01052 100644
--- a/sal/rtl/strtmpl.cxx
+++ b/sal/rtl/strtmpl.cxx
@@ -1618,7 +1618,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newReplace )( IMPL_RTL_STRINGDATA** ppThis,
assert(ppThis);
assert(pStr);
IMPL_RTL_STRINGDATA* pOrg = *ppThis;
- int bChanged = 0;
+ bool bChanged = false;
sal_Int32 nLen = pStr->length;
const IMPL_RTL_STRCODE* pCharStr = pStr->buffer;
@@ -1650,7 +1650,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newReplace )( IMPL_RTL_STRINGDATA** ppThis,
}
}
- bChanged = 1;
+ bChanged = true;
break;
}
@@ -1679,7 +1679,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newToAsciiLowerCase )( IMPL_RTL_STRINGDATA**
assert(ppThis);
assert(pStr);
IMPL_RTL_STRINGDATA* pOrg = *ppThis;
- int bChanged = 0;
+ bool bChanged = false;
sal_Int32 nLen = pStr->length;
const IMPL_RTL_STRCODE* pCharStr = pStr->buffer;
@@ -1708,7 +1708,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newToAsciiLowerCase )( IMPL_RTL_STRINGDATA**
}
}
- bChanged = 1;
+ bChanged = true;
break;
}
@@ -1737,7 +1737,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newToAsciiUpperCase )( IMPL_RTL_STRINGDATA**
assert(ppThis);
assert(pStr);
IMPL_RTL_STRINGDATA* pOrg = *ppThis;
- int bChanged = 0;
+ bool bChanged = false;
sal_Int32 nLen = pStr->length;
const IMPL_RTL_STRCODE* pCharStr = pStr->buffer;
@@ -1766,7 +1766,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newToAsciiUpperCase )( IMPL_RTL_STRINGDATA**
}
}
- bChanged = 1;
+ bChanged = true;
break;
}