To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95209


User pl changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|pl                        |thb
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Nov 13 16:27:07 +0000 
2008 -------
cleaned up dndtest.cxx so it compiles without warnings (wow that is old stuff !)

more seriously I got these warnings on Linux:

vcl/test/canvasbitmaptest.cxx: In member function `virtual
com::sun::star::uno::Sequence<com::sun::star::rendering::ARGBColor>
<unnamed>::TestBitmap::convertIntegerToPARGB(const
com::sun::star::uno::Sequence<sal_Int8>&)':
vcl/test/canvasbitmaptest.cxx:801: warning: passing `const double' for
converting 1 of `double vcl::unotools::toDoubleColor(sal_uInt8)'
vcl/test/canvasbitmaptest.cxx:802: warning: passing `double' for converting 1 of
`double vcl::unotools::toDoubleColor(sal_uInt8)'
vcl/test/canvasbitmaptest.cxx:803: warning: passing `double' for converting 1 of
`double vcl::unotools::toDoubleColor(sal_uInt8)'
vcl/test/canvasbitmaptest.cxx:804: warning: passing `double' for converting 1 of
`double vcl::unotools::toDoubleColor(sal_uInt8)'

These indeed seem to indicate problems since fAlpha is a cast sal_uInt8 itself,
so in the range from 0 to 255 -> overflow.

attaching a patch to solve that.

With that patch it passes, but only if I compile it with debug, else it crashes
somewhere in vcl while trying to access a service.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to