diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-19 11:00:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-19 12:54:20 +0000 |
commit | b693b64dbcf1be2598051773805b8cdc2d8297aa (patch) | |
tree | 1a49dc3db429cc4993eba2345ca927d6ff8f42e1 /sfx2 | |
parent | b55ec68268f72eee291cef29731b59c8c83af361 (diff) |
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
(cherry picked from commit 02f76dec4c54ec7fb28729941c7044307058665a)
Reviewed-on: https://gerrit.libreoffice.org/14012
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index f3bb54701344..0d1300ad419a 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); } |