diff options
author | Jesús Corrius <jcorrius@gmail.com> | 2013-10-04 10:01:51 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-04 13:42:45 +0000 |
commit | 5c1e53cb86d4b6bfcb207cb0f43b101d1f109a3b (patch) | |
tree | 6b3a6ce99cf5d95f04fb836b80f643910808f69e | |
parent | 268cb4cff758b556085d7df532e7f8fbce0efd60 (diff) |
Initial fix for fdo#69915
Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
Reviewed-on: https://gerrit.libreoffice.org/6132
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index a8d32fa66f05..7655b70eab7b 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -420,6 +420,12 @@ void SAL_CALL OApplicationController::disposing() aFilter, getStrippedDatabaseName(), OUString() ); + + // add to recent document list + if ( aURL.GetProtocol() == INET_PROT_FILE ) + Application::AddToRecentDocumentList( aURL.GetURLNoPass( INetURLObject::NO_DECODE ), + (pFilter) ? pFilter->GetMimeType() : OUString(), + (pFilter) ? pFilter->GetServiceName() : OUString() ); } } |