summaryrefslogtreecommitdiff
path: root/dmake/mac/rmprq.c
diff options
context:
space:
mode:
authorChristopher Sherlock <chris.sherlock79@gmail.com>2025-02-23 14:49:19 +1100
committerTomaž Vajngerl <quikee@gmail.com>2025-02-27 02:40:33 +0100
commite4f7dd75937e9f7eaf92c7e9e244a03a3f17f48d (patch)
tree3e2622e57c524f84cf6f34e56a9c53d6280a7907 /dmake/mac/rmprq.c
parent08d940d3b7b194808385bd25bac6aa3160013e17 (diff)
vcl: simplify Animation::Invert() HEADmaster
Regardless of whether all the frames are inverted, the animation bitmap will always be inverted. Thus, we can invert the bitmap first, and then start inverting all the frames. This simplifies matters because we can just exit the function with a false return if the invert fails on any animation frame. Secondly, this allows us to convert to a for range loop. Change-Id: Ifa8152e9903bfc53634b67c8933b50915e7a194f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182050 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'dmake/mac/rmprq.c')
0 files changed, 0 insertions, 0 deletions