On 02/29/2012 06:41 PM, Lionel Elie Mamane wrote:
On Wed, Feb 29, 2012 at 02:57:09PM +0100, Stephan Bergmann wrote:
Note that the stable sal interface historically stays clear of
boost, because of differences in the various boost versions
available in the various environments.
OK, two prongs:
1) Use of boost in rtl/ustring.hxx
But this is completely header-only code, so no ABI probl...^W Ah
no, you are right; if the size or memory layout of a
boost::u16_to_u32_iterator changes, there will be problems when
passing a const_iterator between old binaries and new binaries.
Even if it were header-only, it would not work with the current setup
(where the SDK does not include any boost headers).
So here's the patch for a boost-free OUString, with manually
implemented const_iterator.
Which is a bit of a pain, for sure. Would it be an option to extract
const_iterator and begin/end from OUString to outside the URE interface
(see below) and use some sort of adapter around OUString in those places
that expect it to support begin/end?
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.