summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-07-11 12:10:56 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-07-11 12:10:56 +0100
commitcc632da72ba7fe7e7f14b55e72a501afe930b329 (patch)
treeaadc66aa574aec3410201748cbe4e8b789fc7943 /l10ntools
parent63cb8d6bb21ad6bb401efa4eca479f89745c1cfe (diff)
fix std::max mismatched type compile snafu
Change-Id: Ia6572f8c648168053ae327fa995fc4f33029ab33
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helper.hxx2
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));
}