On 20/03/13 14:00, Stephan Bergmann wrote:
Maybe somebody with deeper insight into the Writer code can resolve that
TODO.
if (GetTextPortionType() == PORTION_RUBY_START &&
- !rPropertyName.compareToAscii( RTL_CONSTASCII_STRINGPARAM("Ruby") ))
+ rPropertyName.startsWith("Ruby")) //TODO: startsWith or ==?
the Ruby is handled in a very special and ugly way, because there is no
UNO service for it: for everything else in a paragraph the
SwXTextPortion has a single property to retrieve the service instance,
but Ruby exists as 4 properties on the SwXTextPortion itself which all
start with Ruby, so startWith is correct (if perhaps too general) in
these cases.
removed TODO in b19c601bc4e4700b9d193a86795424e847759b4b
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.