sfx2/source/appl/sfxpicklist.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit de4c18bacaf75f378da829c2114a67f4007d7a22 Author: Stephan Bergmann <sberg...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits