On Mon, Jan 17, 2011 at 12:46:57PM +0000, Caolán McNamara wrote:
On Sun, 2011-01-16 at 23:32 +0100, Lionel Elie Mamane wrote:
Another of those places in code the that assumes C long == 32 bit
integer. These four variables are used to give default values to
properties WindowTop, WindowLeft, WindowWidth and WindowHeight:
Grepping for WindowTop in there, I see a LoadTableWindowData which
apparently also reads those settings from a file as well and set
them. Given that there its also sal_Int32 types, I suggest that
maybe its better to change the put to cast the input long type to a
sal_Int32 instead ?
Well caught, I missed it. Well, we have to make these three places
agree. As to whether it is in the direction of "C/C++ long" everywhere
or in the direction of "uno long == sal_Int32" everywhere, frankly I
don't have enough overview / depth of knowledge into the codebase to
have an opinion.
--
Lionel
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.