[Libreoffice-commits] core.git: dbaccess/source
Jesús Corrius
jcorrius at gmail.com
Fri Oct 4 01:07:41 PDT 2013
dbaccess/source/ui/app/AppController.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 050248fea53adb6a14b649c5f84dd69a8faff997
Author: Jesús Corrius <jcorrius at gmail.com>
Date: Fri Oct 4 10:01:51 2013 +0200
Initial fix for fdo#69915
Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index b97a02e..a46169e 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() );
}
}
More information about the Libreoffice-commits
mailing list