diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-15 12:14:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-15 15:48:48 +0200 |
commit | fc1b213d157afa57704cec5a0fb65ae8c11d7822 (patch) | |
tree | 11fbfeed38a93ee33535449c85964492e60256c9 /compilerplugins/clang/sfxpoolitem.cxx | |
parent | fd55c09ebab3827847d69112a8786a3413d42db2 (diff) |
convert some plugins to use the sharedplugin infrastructure
Change-Id: I690d9df436abdadc51a6d3f7df686a2e37f79f73
Reviewed-on: https://gerrit.libreoffice.org/75624
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/sfxpoolitem.cxx')
-rw-r--r-- | compilerplugins/clang/sfxpoolitem.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compilerplugins/clang/sfxpoolitem.cxx b/compilerplugins/clang/sfxpoolitem.cxx index bd2870fe06d3..ce52336c8e04 100644 --- a/compilerplugins/clang/sfxpoolitem.cxx +++ b/compilerplugins/clang/sfxpoolitem.cxx @@ -6,6 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef LO_CLANG_SHARED_PLUGINS #include <string> #include <iostream> @@ -124,8 +125,10 @@ bool SfxPoolItem::VisitCXXRecordDecl(const CXXRecordDecl* decl) } -loplugin::Plugin::Registration< SfxPoolItem > X("sfxpoolitem"); +loplugin::Plugin::Registration< SfxPoolItem > sfxpoolitem("sfxpoolitem"); -} +} // namespace + +#endif // LO_CLANG_SHARED_PLUGINS /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |