Hi Niklasn: Thanks very much your advice. I have merged FuSelection::TestComment and in ScGridWindow::SelectForContextMenu method Icl_UnLockComment.So when I fixed it, class ScGridWindow is a friend for class FuSelection,because the TestComment method is private. I'm looking forward to your reply.
Thanks & Best Regards, maoyg 2007-07-20 发件人: Niklas Nebel 发送时间: 2007-07-19 01:22:45 收件人: [email protected] 抄送: 主题: Re: [sc-dev] About issue 63144#,please review patch file! Niklas Nebel wrote: > It looks like the layer has to be locked again, possibly in > FuText::StopEditMode. And for right-click selection, ScGridWindow::SelectForContextMenu calls lcl_UnLockComment (in gridwin.cxx), which has to be changed in a similar way to FuSelection::TestComment, or preferably merged with it.
