summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2018-12-26 13:31:16 +0200
committerTor Lillqvist <tml@iki.fi>2018-12-26 13:31:16 +0200
commit993913469e74e9db9743004bbe36aa412411671c (patch)
treee7ba14b32e6337ac3ef49b95b44f04ffbcacfcc5 /vcl/quartz
parent4f17ef6699fd290ff6429f16dee23315d64b672f (diff)
Add some pondering about code of questionable provenance in a comment
Change-Id: I20b3c8ba0ae4018307a97150440c708cfa3edc40
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/salbmp.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 34fd42caf2ad..791844632267 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -955,6 +955,11 @@ bool QuartzSalBitmap::GetSystemData( BitmapSystemData& rData )
{
/**
* We need to hack things because VCL does not use kCGBitmapByteOrder32Host, while Cairo requires it.
+ *
+ * Not sure what the above comment means. We don't use Cairo on macOS or iOS.
+ *
+ * This whole if statement was originally (before 2011) inside #ifdef CAIRO. Did we use Cairo on Mac back then?
+ * Anyway, nowadays (since many years, I think) we don't, so should this if statement be dropped? Fun.
*/
SAL_INFO("vcl.cg", "QuartzSalBitmap::" << __func__ << "(): kCGBitmapByteOrder32Host not found => inserting it.");