xub_StrLen and UNO

Stephan Bergmann sbergman at redhat.com
Tue Jul 30 10:06:09 PDT 2013


On 07/30/2013 07:02 PM, Norbert Thiebaud wrote:
> after a bit more of reflection....
>
> 1/ the current API specify 0 as = no-limit

ah, if that is so (though offapi/com/sun/star/awt/XTextComponent.idl 
doesn't mention it), then the below is indeed a clever way out for now

Stephan

> 2/ There is no practical use-case that would need to _set_ a hard
> limit above 32K. (I mean other than no-limit)
> 3/ I could adjust the get code so that it return 0 when the limit is
> effectively above 32K. so from a UNO client the message is that filed
> can be of arbitrary size deal with it. (even if the real data is
> actually bound to a limit >32K )


More information about the LibreOffice mailing list