sfx2/source/doc/objserv.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 4e923fb5a293ce570974e620b87ff84ccb6a139b
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Aug 16 17:53:45 2012 +0200

    fdo#53280: Reset read-only UI after successful Save As
    
    Change-Id: Ica9214d3655df27bbb259c463a7589a842f01c47

diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 6a25743..1bd9c9c 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -694,6 +694,11 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
                 nErrorCode = ( lErr != ERRCODE_IO_ABORT ) && ( nErrorCode == 
ERRCODE_NONE ) ? nErrorCode : lErr;
             }
 
+            if (nId == SID_SAVEASDOC && nErrorCode == ERRCODE_NONE)
+            {
+                SetReadOnlyUI(false);
+            }
+
             rReq.SetReturnValue( SfxBoolItem(0, nErrorCode == ERRCODE_NONE ) );
 
             ResetError();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to