sal/rtl/strtmpl.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
New commits: commit 72b099d279e7096d41a04fe8c0dd493a5fc18a33 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun Jul 29 13:42:32 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Jul 29 19:11:23 2018 +0200 bChanged can be bool Change-Id: I7d3f6af5410d93537b6b7a704615f43860160320 Reviewed-on: https://gerrit.libreoffice.org/58278 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits