summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/salinst.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/app/salinst.cxx')
-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()
{