Initial fix for fdo#69915

Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
This commit is contained in:
Jesús Corrius
2013-10-04 10:01:51 +02:00
parent 26acd48784
commit 050248fea5

View File

@@ -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() );
}
}