Work around Visual Studio lameness with "max"
This commit is contained in:
parent
af0852fd3e
commit
24c7ee76e9
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ std::string convertLazy(rtl::OUString const & s16) {
|
|||
return std::string(
|
||||
s8.getStr(),
|
||||
((static_cast< sal_uInt32 >(s8.getLength())
|
||||
> std::numeric_limits< std::string::size_type >::max())
|
||||
? std::numeric_limits< std::string::size_type >::max()
|
||||
> (std::numeric_limits< std::string::size_type >::max)())
|
||||
? (std::numeric_limits< std::string::size_type >::max)()
|
||||
: static_cast< std::string::size_type >(s8.getLength())));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue