https://bugs.documentfoundation.org/show_bug.cgi?id=90837

Michael Meeks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Michael Meeks <[email protected]> ---
Hmm -I get this:

--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2639,6 +2639,7 @@ bool SfxObjectShell::Save_Impl( const SfxItemSet* pSet )
 {
     if ( IsReadOnly() )
     {
+        SAL_DEBUG("SAVE_Impl at the top");
         SetError(ERRCODE_SFX_DOCUMENTREADONLY);
         return false;
     }

triggering the error for me - it seems we switch to 'Save_Impl' if the
destination file is the same as the source file - and it seems rather a
reasonable error that we give; and a reasonably safe behavior.

Will push a patch to clarify the error message =)

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

Reply via email to