diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/helper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/helper.hxx b/l10ntools/source/helper.hxx index ee03eda3a162..cc33b71ff8ac 100644 --- a/l10ntools/source/helper.hxx +++ b/l10ntools/source/helper.hxx @@ -103,7 +103,7 @@ inline sal_Int32 indexOfAnyAsciiL( template< typename T > inline T abbreviate( T const & text, sal_Int32 start, sal_Int32 length) { - start = std::max(0, start); + start = std::max(sal_Int32(0), start); assert(start <= text.getLength()); return text.copy(start, std::min(text.getLength() - start, length)); } |