To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=89862 Issue #|89862 Summary|setting new language attribute leaves EditView black Component|Word processor Version|DEV300m13 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|ui Assigned to|tl Reported by|mod
------- Additional comments from [EMAIL PROTECTED] Fri May 23 14:45:08 +0000 2008 ------- trying to set a new language attribute to complete text of OutlineView with this code: ESelection aOld = mpOutlinerView->GetSelection(); ESelection aNewSelection( 0, 0, mpOutliner->GetParagraphCount()-1, USHRT_MAX ); mpOutlinerView->SetSelection( aNewSelection ); SfxItemSet aEditAttr(mpOutlinerView->GetAttribs()); aEditAttr.Put(aNewItem); // this is a SvxLanguageItem mpOutlinerView->SetAttribs( aEditAttr ); mpOutlinerView->SetSelection(aOld); This leaves the complete View black Adding mpOutlinerView->GetEditView().Invalidate() at the end improves this a little, as only the lines which are now right spelled remain black --------------------------------------------------------------------- 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]
