On Mon, 2012-10-01 at 14:23 +0200, Noel Grandin wrote:
Perhaps we need to split out some preparatory tasks?
For example
- fix code that directly accesses the underlying buffer
Sure !
- create an external iterator class (which would currently be a thin
wrapper around int) for looping over the buffer and indexing into it
- fix code that indexes into an OUString to use the new external iterator
That is all well worth doing of course; I imagine that improving
instances of our splitting / tokenising code left and right would also
be rather useful having some nice, standard, C++ iterators there that
avoided people having to use indexes left & right would yield a nice big
cleanup I think :-)
Once those tasks are taken care of, the actual conversion to using UTF-8
internally will become a great deal simpler.
Indeed; it would make a good start. Then again - in terms of useful
re-factoring, Caolans' nice UI / layout stuff looks like it has tons of
potential to create real user-visible improvement :-)
ATB,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
Context
Re: OUString is mutable? · Stephan Bergmann
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.