https://bz.apache.org/ooo/show_bug.cgi?id=128398

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|FreeBSD                     |All

--- Comment #5 from [email protected] ---
This line in sd::DrawDocShell::SaveAs() in source/ui/docshell/docshel4.cxx
causes editing cycles to change to 1:

605            UpdateDocInfoForSave();

Stepping into it, it breaks after running line 197:

193    // clear user data if recommend (see 'Tools - Options - Open/StarOffice
- Security')
194    if ( SvtSecurityOptions().IsOptionSet(
195            SvtSecurityOptions::E_DOCWARN_REMOVEPERSONALINFO ) )
196    {
197        xDocProps->resetUserData( ::rtl::OUString() );
198    }

Disabling "Remove personal information on saving" under Tools - Options -
Security - Options gets the editing cycles to get written successfully.

Thus it's not a bug, but a feature.

However the unit test has a bug then, as it expects editing cycles to be
written. The unit test should be patched to disable that security setting
during the test.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to