Cor Nouws, 05-01-2007 20:13:
Georgy Dimitrov wrote:
I have a problem adding rows to XTextTable. I use the following code
to add
rows in chunks - the call to insertByIndex(...) never returns and the
soffice.bin process takes about 50% of CPU. Code is like this:
*Code:*
com.sun.star.table.XTableRows rows = xTable.getRows();
for (int i = 0; i < list.length; i++){
[...]
Think I saw this problem before. The int type is the limitation. Use
double for i.
Ooops, double?
I'm sure you meant:
unsigned long
, didn't you?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]