Kaydet (Commit) 633e5e16 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

What is a ridiculous size in 32-bit code is also ridiculous in 64-bit code

Avoids the CppunitTest_vcl_filters_test allocating an insane amount of
memory when run as 64-bit on OS X.

Change-Id: I978347849c2cf5fd1663e5a85a788b736e239e94
üst 342c8c9d
......@@ -303,7 +303,7 @@ bool QuartzSalBitmap::AllocateUserData()
bool alloc = false;
if (mnBytesPerRow != 0
&& mnBytesPerRow <= std::numeric_limits<std::size_t>::max() / mnHeight)
&& mnBytesPerRow <= std::numeric_limits<sal_uInt32>::max() / mnHeight)
{
try
{
......
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