summaryrefslogtreecommitdiff
path: root/compilerplugins
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 /compilerplugins
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 'compilerplugins')
-rw-r--r--compilerplugins/clang/mergeclasses.results1
-rw-r--r--compilerplugins/clang/staticmethods.cxx6
-rw-r--r--compilerplugins/clang/store/constantfunction.cxx4
3 files changed, 0 insertions, 11 deletions
diff --git a/compilerplugins/clang/mergeclasses.results b/compilerplugins/clang/mergeclasses.results
index e805ec5f0923..9ad9ae738149 100644
--- a/compilerplugins/clang/mergeclasses.results
+++ b/compilerplugins/clang/mergeclasses.results
@@ -240,7 +240,6 @@ merge frm::ITextSelectionListener with frm::ORichTextPeer
merge frm::OFormComponents with frm::ODatabaseForm
merge ftp::CurlInput with InsertData
merge gio::Seekable with gio::OutputStream
-merge i_xml_parser_event_handler with (anonymous namespace)::recently_used_file_filter
merge oglcanvas::IBufferContext with oglcanvas::(anonymous namespace)::BufferContextImpl
merge old_SdrDownCompat with SdIOCompat
merge oox::SequenceSeekableStream with oox::SequenceInputStream
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx
index 157c2190a3ec..bc37189eb64b 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -109,12 +109,6 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
if (cdc.Class("BitmapInfoAccess").GlobalNamespace()) {
return true;
}
- // in this case, the code is taking the address of the member function
- // shell/source/unix/sysshell/recently_used_file_handler.cxx
- if (cdc.Struct("recently_used_item").AnonymousNamespace().GlobalNamespace())
- {
- return true;
- }
// the unotools and svl config code stuff is doing weird stuff with a reference-counted statically allocated pImpl class
if (loplugin::hasPathnamePrefix(aFilename, SRCDIR "/include/unotools/")) {
return true;
diff --git a/compilerplugins/clang/store/constantfunction.cxx b/compilerplugins/clang/store/constantfunction.cxx
index b2be6b90532d..a1b795d63ea7 100644
--- a/compilerplugins/clang/store/constantfunction.cxx
+++ b/compilerplugins/clang/store/constantfunction.cxx
@@ -171,10 +171,6 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
if (aFunctionName == "osl_thread_priority_init_Impl") {
return true;
}
- // a pointer to this function is taken and passed to an underlying API, shell/source/unix/sysshell/recently_used_file_handler.cxx
- if (aFunctionName == "(anonymous namespace)::recently_used_item::set_nothing") {
- return true;
- }
// a pointer to this function is taken and passed to an underlying API, cppu/source/uno/lbenv.cxx
if (aFunctionName == "defenv_dispose") {
return true;