diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-12-06 00:17:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2018-12-11 09:29:41 +0100 |
commit | 28726190d52b0729339d7257b84b449fafa4c34e (patch) | |
tree | 83354e34a370bf29d66d1ab364f6a7a7e125113d /include/unotools | |
parent | Fix typo (diff) | |
download | core-28726190d52b0729339d7257b84b449fafa4c34e.tar.gz core-28726190d52b0729339d7257b84b449fafa4c34e.zip |
find-unneeded-includes: Avoid proposing o3tl fw declaration
This does not really work: even when it seems to, it compiles only
because of transitive includes
- Filter o3tl/typed_flags_set.hxx in f-u-u
- Remove already added fw declarations from hxx files and
include full header just in case
- Remove now unnecessary blacklist entries
Change-Id: Ie0de6667af697095a623b435806449e7e28a6004
Reviewed-on: https://gerrit.libreoffice.org/64659
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/configitem.hxx | 3 | ||||
-rw-r--r-- | include/unotools/fontcfg.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx index 675e9edfab24..edeaf03af55c 100644 --- a/include/unotools/configitem.hxx +++ b/include/unotools/configitem.hxx @@ -26,6 +26,7 @@ #include <com/sun/star/uno/Reference.h> #include <unotools/unotoolsdllapi.h> #include <unotools/options.hxx> +#include <o3tl/typed_flags_set.hxx> namespace com{ namespace sun{ namespace star{ namespace uno{ @@ -49,8 +50,6 @@ enum class ConfigItemMode ReleaseTree = 0x04, }; -namespace o3tl { template <typename T> struct typed_flags; } - namespace o3tl { template<> struct typed_flags<ConfigItemMode> : is_typed_flags<ConfigItemMode, 0x07> {}; diff --git a/include/unotools/fontcfg.hxx b/include/unotools/fontcfg.hxx index 24dfbb6540f3..d98d13080040 100644 --- a/include/unotools/fontcfg.hxx +++ b/include/unotools/fontcfg.hxx @@ -23,12 +23,12 @@ #include <tools/solar.h> #include <tools/fontenum.hxx> #include <com/sun/star/uno/Reference.hxx> +#include <o3tl/typed_flags_set.hxx> #include <unordered_map> #include <unordered_set> #include <vector> -namespace o3tl { template <typename T> struct typed_flags; } namespace com { namespace sun { namespace star { namespace container { class XNameAccess; } } } } namespace com { namespace sun { namespace star { namespace lang { class XMultiServiceFactory; } } } } |