To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=56229
------- Additional comments from [EMAIL PROTECTED] Tue Sep 4 09:33:21 +0000 2007 ------- lijian->fme:Thank you for your reply. I am not sure what you mean. While I will explain what I think: If the inner table is in other cells of the outer table except the first cell, all work fine regarding "select". And in those situations, lcl_FindNextCell works fine. So I don't think it's the reason. In fact, the statement "rCurCrsr.Move( fnPosTbl, fnGoCntnt )" in Function "GotoCurrTable" in core\crsr\trvltbl.cxx will always be excuted and it will return the cells in which the cursor starts and ends. If there is no txtnode in the first cell of the outer table before the inner table, the statement will search for the first txtnode even if the txtnode is in the inner table. Then this inner txtnode will be stored in Class Pam. So the selected range will be wrong(just the inner table). My patch ensures to find the correct table the original cursor is located in. I still have 2 other questions: 1.what is function SwCursor::IsReadOnlyAvailable used for ? 2.I am not sure what function lcl_FindNextCell is used for. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]