diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-16 08:13:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-16 09:15:01 +0200 |
commit | 8d4fbc532e2058a906b06471501385404ff31541 (patch) | |
tree | f6e0116d76e605395bc05444e2eece0574da9ba2 /compilerplugins/clang/sfxpoolitem.cxx | |
parent | 5521ac4e152dc9159ac7f7d86d9d2addef443cf4 (diff) |
convert some plugins to LO_CLANG_SHARED_PLUGINS
Change-Id: I7451a95377101004c7c53c918f3234415e06f555
Reviewed-on: https://gerrit.libreoffice.org/75670
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: */ |