diff options
author | Jesús Corrius <jcorrius@gmail.com> | 2013-10-04 10:01:51 +0200 |
---|---|---|
committer | Jesús Corrius <jcorrius@gmail.com> | 2013-10-04 10:02:35 +0200 |
commit | 050248fea53adb6a14b649c5f84dd69a8faff997 (patch) | |
tree | 0ec43f9bce5775c515dc408dc86e069e0856347d | |
parent | 26acd487845bd6c6f08036bffde1631fae56087a (diff) |
Initial fix for fdo#69915
Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
-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 b97a02e2a1ac..a46169e9c926 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -408,6 +408,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() ); } } |