diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-04-27 11:08:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-27 11:12:22 +0200 |
commit | de4c18bacaf75f378da829c2114a67f4007d7a22 (patch) | |
tree | 3b0f4af4b6bd3405b95ff296b8b4107e7190e735 /sfx2 | |
parent | ec913638c55a41b0ac354f9f564d13a8f53449f3 (diff) |
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.
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/sfxpicklist.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx index 119873279b95..b3c48f2c622f 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) |