return value of GetTextBreak()

Christina Roßmanith ChrRossmanith at gmx.de
Tue Mar 19 07:31:55 PDT 2013


Hi,

GetTextBreak() returns STRING_LENGTH if text breaking isn't necessary 
(if I get it right). indexOf() returns -1 if searching failed. Would 
that be a choice for GetTextBreak() as well? What would be a useful 
return value? sal_Int16, sal_Int32? In GenericSalLayout int is chosen as 
return type. In OutputDevice xub_StrLen is chosen...

Christina




More information about the LibreOffice mailing list