[PATCH] Fix check for FRAME_DRAW_NWF and regression in CTRL_FRAME support

Ruslan Kabatsayev b7.10110111 at gmail.com
Fri Jul 6 16:25:17 PDT 2012


Commit 504e433331016004fb2edebdb29a85d69084b1d6 breaks almost all the
support for CTRL_FRAME because of incorrect check for FRAME_DRAW_NWF.
It checks for it as if this were a single bit flag, but its value is
0x7, so it should be compared against its value after bitwise AND.

I'm attaching a patch which fixes this regression.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-check-for-FRAME_DRAW_NWF-and-thus-reenable-CTRL_.patch
Type: application/octet-stream
Size: 946 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120707/32598560/attachment.obj>

More information about the LibreOffice mailing list