summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-09-23 17:06:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-09-23 17:06:58 +0200
commit02e0bac73be8d11abf539130f3d3541fa72af93a (patch)
tree7e597edbac482ba66d16dbe5de9578b63f3b3dcc /sw
parent2d8348d298185cad7d2b6aec40e8e44f95be1b7a (diff)
error C2782: template parameter '_Ty' is ambiguous
Change-Id: Ieb8f91a629b9e14480c0372e747fea326c549833
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/bastyp/breakit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/bastyp/breakit.cxx b/sw/source/core/bastyp/breakit.cxx
index 8a4c40e3ee5b..0e3aeea60f62 100644
--- a/sw/source/core/bastyp/breakit.cxx
+++ b/sw/source/core/bastyp/breakit.cxx
@@ -175,7 +175,7 @@ sal_Int32 SwBreakIt::getGraphemeCount(const OUString& rText,
{
sal_Int32 nGraphemeCount = 0;
- sal_Int32 nCurPos = std::max(0, nStart);
+ sal_Int32 nCurPos = std::max(static_cast<sal_Int32>(0), nStart);
while (nCurPos < nEnd)
{
// fdo#49208 cheat and assume that nothing can combine with a space