[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Mon Jan 19 02:04:47 PST 2015


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

New commits:
commit 02f76dec4c54ec7fb28729941c7044307058665a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 19 11:00:58 2015 +0100

    Re fdo#80538: Remove read-only infobar after "Save As..."
    
    ...on a doc in r/o mode, which will switch to the newly saved document in r/w
    mode.  Was missing from c6270de939d5ee51b61dc4ac02c52f1d9b5b1e47 "fdo#80538 Show
    an infobar when document is in read-only mode."
    
    Change-Id: Ie17f4213f989cb4b9d3f7fc114392ec6f516a965

diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 7bc7712..0edb0e8 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -728,6 +728,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
 
             if ( nId == SID_SAVEASDOC  && nErrorCode == ERRCODE_NONE )
             {
+                GetFrame()->RemoveInfoBar("readonly");
                 SetReadOnlyUI(false);
             }
 


More information about the Libreoffice-commits mailing list