summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2019-03-24 16:53:37 +0300
committerStephan Bergmann <sbergman@redhat.com>2019-03-24 18:52:22 +0100
commitaf19a3cc6aa352643d4f728e722945903a5556b3 (patch)
tree8bc62b9d6cc514e41b863f9106e2371381a688eb /vcl/unx/generic
parent87f262dadbbdc1808c5e617003d125ee8df0c501 (diff)
Resolves: tdf#122114 remove support for ~/.recently-used file
Change-Id: Ie91f0bf21e6f5c3f7a7aa4ae3d1dff6cc8e15a86 Reviewed-on: https://gerrit.libreoffice.org/69597 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/app/salinst.cxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/vcl/unx/generic/app/salinst.cxx b/vcl/unx/generic/app/salinst.cxx
index 872f15405e31..e16f13a87f68 100644
--- a/vcl/unx/generic/app/salinst.cxx
+++ b/vcl/unx/generic/app/salinst.cxx
@@ -206,21 +206,7 @@ void X11SalInstance::AfterAppInit()
pSalDisplay->SetupInput();
}
-extern "C" { static void thisModule() {} }
-
-void X11SalInstance::AddToRecentDocumentList(const OUString& rFileUrl, const OUString& rMimeType, const OUString& rDocumentService)
-{
- typedef void (*PFUNC_ADD_TO_RECENTLY_USED_LIST)(const OUString&, const OUString&, const OUString&);
-
- PFUNC_ADD_TO_RECENTLY_USED_LIST add_to_recently_used_file_list = nullptr;
-
- osl::Module module;
- module.loadRelative( &thisModule, "librecentfile.so" );
- if (module.is())
- add_to_recently_used_file_list = reinterpret_cast<PFUNC_ADD_TO_RECENTLY_USED_LIST>(module.getFunctionSymbol("add_to_recently_used_file_list"));
- if (add_to_recently_used_file_list)
- add_to_recently_used_file_list(rFileUrl, rMimeType, rDocumentService);
-}
+void X11SalInstance::AddToRecentDocumentList(const OUString&, const OUString&, const OUString&) {}
void X11SalInstance::PostPrintersChanged()
{