Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


I'm converting ScRangeList from "DECLARE_LIST( ScRangeListBase, ScRange* ) " to "::STD::vector< ScRange*> ScRangeListBase"

The most of the code boring and unlikely to cause issues; however, some areas need further review:

sc/source/core/tool/rangelst.cxx <- This is the main class ScRangeList and a child of ScRangeListBase. If this is wrong, we're in trouble.
- I changed GetCellCount() from ULONG to size_t which is more correct. Can someone verify that this doesn't break 64bit builds?

sc/source/ui/miscdlgs/acredin.cxx
- Re-wrote some logic to not use iterators. A review would be nice.

sc/source/ui/unoobj/cellsuno.cxx
- The is huge with lots of changes.


I now pass a few size_t values to sal_Int32 & sal_uInt32 parameters. The Mac build only supports 32bits currently so this isn't an issue. I need someone with a 64bit build machine to review this patch.

Joe P.

Attachment: 0001-Remove-another-DECLARE_LIST-from-Calc.patch
Description: Binary data


ps: Sorry about the size... but I had to change everything in one pass or not at all.

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.