<br><br><div class="gmail_quote">2011/5/4 Kohei Yoshida <span dir="ltr">&lt;<a href="mailto:kyoshida@novell.com">kyoshida@novell.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Wed, 2011-05-04 at 18:23 +0200, Markus Mohrhard wrote:<br>
&gt; I&#39;m fine with nearly everything. And your suggestion looks even a bit<br>
&gt; better than mine, except for the setByTable method.<br>
&gt;<br>
&gt; I was thinking about adding the table index too, but stumbled over the<br>
&gt; case when the table index does not match the table the db data refers<br>
&gt; to.<br>
<br>
</div>Ok.  I still wonder in what situations the table index differs from the<br>
table of the db data, but I&#39;ll take your word for it.<br></blockquote><div><br>At the moment there is no case where this happens, but there may be someone in the future who will think of this as a good idea to solve a problem. It&#39;s the same reason made me write the lines that check for the index of the table: as long as something is possible someone will try it.  <br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
&gt; We have a similar problem in our code base, but as long as we are<br>
&gt; aware of it there are no problems. But with the new uno api there<br>
&gt; might be an add-on developer who doesn&#39;t know that the range and the<br>
&gt; table index must match.<br>
&gt; So I would prefer to get the information which table is used by the db<br>
&gt; range itself. It will still be possible to check for the index to be<br>
&gt; out of bounds.<br>
<br>
</div>Ok.  I&#39;m fine with that.  Let&#39;s go with your suggestion. <br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888"><br>
Kohei<br>
<br>
</font></blockquote></div><br>