Kaydet (Commit) 2a48994b authored tarafından Caolán McNamara's avatar Caolán McNamara

different types in std::min on 32bit

üst a3f1614c
......@@ -2566,8 +2566,7 @@ const rtl::OUString& SwCombinedCharField::GetPar1() const
void SwCombinedCharField::SetPar1(const rtl::OUString& rStr)
{
sCharacters = rStr.copy(0, std::min(rStr.getLength(),
static_cast<sal_Int32>(MAX_COMBINED_CHARACTERS)));
sCharacters = rStr.copy(0, std::min<sal_Int32>(rStr.getLength(), MAX_COMBINED_CHARACTERS));
}
bool SwCombinedCharField::QueryValue( uno::Any& rAny,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment