aboutsummaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-09-01 21:26:44 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-09-01 21:26:44 +0000
commitf6862ef6519138ee01e5fd3d912b38341ad953e7 (patch)
tree096d23e157bb6c7cf824e6673e76df1c3416d2bc /editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx
parent8e614fd8ecb3555279fc6107528c2d0fa71e6dda (diff)
downloadports-f6862ef6519138ee01e5fd3d912b38341ad953e7.tar.gz
ports-f6862ef6519138ee01e5fd3d912b38341ad953e7.zip
Notes
Diffstat (limited to 'editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx')
-rw-r--r--editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx b/editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx
new file mode 100644
index 000000000000..de390fc9f690
--- /dev/null
+++ b/editors/libreoffice/files/patch-vcl_qa_cppunit_BitmapTest.cxx
@@ -0,0 +1,11 @@
+--- vcl/qa/cppunit/BitmapTest.cxx.orig 2015-08-22 06:41:35 UTC
++++ vcl/qa/cppunit/BitmapTest.cxx
+@@ -62,7 +62,7 @@ void BitmapTest::testConvert()
+ CPPUNIT_ASSERT_EQUAL(sal_uInt16(24), aBitmap.GetBitCount());
+ {
+ Bitmap::ScopedReadAccess pReadAccess(aBitmap);
+-#if defined LINUX
++#if defined FREEBSD || defined LINUX
+ // 24 bit Bitmap on SVP backend uses 32bit BGRX format
+ CPPUNIT_ASSERT_EQUAL(static_cast<sal_uInt16>(32), pReadAccess->GetBitCount());
+ CPPUNIT_ASSERT_EQUAL(sal_uLong(40), pReadAccess->GetScanlineSize());