diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-08-27 09:47:49 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-08-27 09:47:49 +0000 |
commit | d40216f65ef7eb3eaf4946d2b65dce0f86b34bf2 (patch) | |
tree | 089f86288d093d78992519bcf426d7d44d4441bd /sfx2/source/appl/sfxpicklist.cxx | |
parent | 6f87733a89a46fa9750c0636001ca56e0148affa (diff) |
#101980# change Recent Documents list only for file urls
Diffstat (limited to 'sfx2/source/appl/sfxpicklist.cxx')
-rw-r--r-- | sfx2/source/appl/sfxpicklist.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx index c2778ab2b941..c82b85fcf6ef 100644 --- a/sfx2/source/appl/sfxpicklist.cxx +++ b/sfx2/source/appl/sfxpicklist.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sfxpicklist.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: mav $ $Date: 2002-07-24 14:14:06 $ + * last change: $Author: mav $ $Date: 2002-08-27 10:47:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -473,7 +473,8 @@ void SfxPickList::Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) pDocSh->Get_Impl()->bWaitingForPicklist = sal_False; - SystemShell::AddToRecentDocumentList( aURL.GetURLNoPass( INetURLObject::NO_DECODE ) ); + if ( aURL.GetProtocol() == INET_PROT_FILE ) + SystemShell::AddToRecentDocumentList( aURL.GetURLNoPass( INetURLObject::NO_DECODE ) ); } break; } |