diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-03-10 15:45:09 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-10 15:23:31 +0000 |
commit | 21b92f386c32defa498284df752d909c9555c4c1 (patch) | |
tree | ccd58c0489e199374249df7c93886da20f444535 /compilerplugins/clang | |
parent | 70c8d27892f811121a891ebd4742c97d19632f93 (diff) |
MenuDispatcher::m_pMenuManager is always nullptr
... as shown by 7da15debe39b50255cc08b3fef7ae38185a9174f.
Which means that MenuManager is unused, and MenuDispatcher
does nothing useful.
Change-Id: Ic85619531054a573d971d38b52609e1cbcaf780c
Reviewed-on: https://gerrit.libreoffice.org/23117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/store/constantfunction.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compilerplugins/clang/store/constantfunction.cxx b/compilerplugins/clang/store/constantfunction.cxx index 9459bc3c26f2..891eb5361f5c 100644 --- a/compilerplugins/clang/store/constantfunction.cxx +++ b/compilerplugins/clang/store/constantfunction.cxx @@ -433,8 +433,7 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) { return true; } // LINK callback which supplies a return value which means something - if (aFunctionName == "framework::MenuManager::Highlight" - || aFunctionName == "framework::MenuBarManager::Highlight") { + if (aFunctionName == "framework::MenuBarManager::Highlight") { return true; } if (aFunctionName == "sc::AlignedAllocator::operator!=") { |