[Libreoffice-commits] .: sfx2/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Fri Apr 27 02:13:24 PDT 2012
sfx2/source/appl/sfxpicklist.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit de4c18bacaf75f378da829c2114a67f4007d7a22
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 27 11:08:37 2012 +0200
Related fdo#37775: Update Recent Documents for r/o docs, too
...not sure why this explicit check was there at all. Before the fix for
fdo#37775, the check was not an issue, as docs were only added to Recent
Documents upon saving them, anyway.
diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx
index 1198732..b3c48f2 100644
--- a/sfx2/source/appl/sfxpicklist.cxx
+++ b/sfx2/source/appl/sfxpicklist.cxx
@@ -180,8 +180,7 @@ void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh )
if ( aURL.GetProtocol() == INET_PROT_VND_SUN_STAR_HELP )
return;
- // only add r/w document into picklist
- if ( pDocSh->IsReadOnly() || !pMed->IsUpdatePickList() )
+ if ( !pMed->IsUpdatePickList() )
return;
// add no document that forbids this (for example Message-Body)
More information about the Libreoffice-commits
mailing list