http://openoffice.org/bugzilla/show_bug.cgi?id=116136
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] AssignedTo|[email protected] |[email protected] OS/Version|Unix, X11 |All --- Comment #3 from [email protected] 2011-03-23 13:28:18 --- It seems that the culprit is that the "modified" flag of the Writer document is reset when the outline is exported to rtf. The simplest fix could be to prevent the change: case FN_OUTLINE_TO_CLIPBOARD: case FN_OUTLINE_TO_IMPRESS: { sal_Bool bEnabled = IsEnableSetModified(); EnableSetModified(sal_False); WriterRef xWrt; ::GetRTFWriter( 'O', String(), xWrt ); SvMemoryStream *pStrm = new SvMemoryStream(); pStrm->SetBufferSize( 16348 ); SwWriter aWrt( *pStrm, *GetDoc() ); ErrCode eErr = aWrt.Write( xWrt ); // etc. etc. EnableSetModified(bEnabled); Or something like that. Oliver, do you agree? -- Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Bugzilla. Please log into the website and enter your comments. --------------------------------------------------------------------- -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help
