[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - dbaccess/source
Jesús Corrius
jcorrius at gmail.com
Fri Oct 4 06:43:06 PDT 2013
dbaccess/source/ui/app/AppController.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 5c1e53cb86d4b6bfcb207cb0f43b101d1f109a3b
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
Reviewed-on: https://gerrit.libreoffice.org/6132
Reviewed-by: Michael Stahl <mstahl at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index a8d32fa..7655b70 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() );
}
}
More information about the Libreoffice-commits
mailing list