Recheck modules [i-l]* with IWYU
See tdf#42949 for motivation Change-Id: I758bb27e93779e3df21c463714e49354748f446f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128715 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
This commit is contained in:
parent
c73670326c
commit
67478f9d63
85 changed files with 94 additions and 145 deletions
|
@ -21,7 +21,6 @@
|
|||
#include <HelpLinker.hxx>
|
||||
#include <sal/main.h>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
|
||||
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
||||
{
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <sal/types.h>
|
||||
|
||||
namespace i18npool {
|
||||
|
||||
const sal_Unicode table_AIUFullWidth_ja_JP[] = {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <com/sun/star/i18n/XCharacterClassification.hpp>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace com::sun::star::i18n { class XLocaleData5; }
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <com/sun/star/i18n/XExtendedInputSequenceChecker.hpp>
|
||||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace com::sun::star::uno { class XComponentContext; }
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <rtl/ustring.hxx>
|
||||
#include <vector>
|
||||
#include <string_view>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <osl/module.hxx>
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include <sal/types.h>
|
||||
|
||||
namespace i18npool {
|
||||
|
||||
/*
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#ifndef INCLUDED_I18NPOOL_SOURCE_NATIVENUMBER_DATA_NUMBERCHAR_H
|
||||
#define INCLUDED_I18NPOOL_SOURCE_NATIVENUMBER_DATA_NUMBERCHAR_H
|
||||
|
||||
#include <sal/types.h>
|
||||
|
||||
namespace i18npool {
|
||||
|
||||
const sal_Int16 NumberChar_HalfWidth = 0;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include <i18nutil/paper.hxx>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <unotools/configmgr.hxx>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
|
||||
|
|
2
idl/IwyuFilter_idl.yaml
Normal file
2
idl/IwyuFilter_idl.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
assumeFilename: idl/source/objects/object.cxx
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include <tools/ref.hxx>
|
||||
#include "bastype.hxx"
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
class SvTokenStream;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <tools/globname.hxx>
|
||||
#include <rtl/string.hxx>
|
||||
|
||||
class SvStringHashEntry;
|
||||
class SvIdlDataBase;
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
#ifndef INCLUDED_IDL_INC_HASH_HXX
|
||||
#define INCLUDED_IDL_INC_HASH_HXX
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <tools/ref.hxx>
|
||||
#include <rtl/string.hxx>
|
||||
#include <tools/solar.h>
|
||||
#include <unordered_map>
|
||||
#include <memory>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#ifndef INCLUDED_IDL_INC_MODULE_HXX
|
||||
#define INCLUDED_IDL_INC_MODULE_HXX
|
||||
|
||||
#include "slot.hxx"
|
||||
#include "object.hxx"
|
||||
|
||||
class SvMetaModule final : public SvMetaObject
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
#define INCLUDED_IDL_INC_OBJECT_HXX
|
||||
|
||||
#include "types.hxx"
|
||||
#include "slot.hxx"
|
||||
|
||||
#include <tools/solar.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
class SvMetaClass;
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
#define INCLUDED_IDL_INC_SLOT_HXX
|
||||
|
||||
#include "types.hxx"
|
||||
#include "command.hxx"
|
||||
|
||||
#include <tools/solar.h>
|
||||
|
||||
class SvMetaSlot : public SvMetaAttribute
|
||||
{
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define INCLUDED_IDL_INC_TYPES_HXX
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <tools/solar.h>
|
||||
#include <tools/ref.hxx>
|
||||
#include "basobj.hxx"
|
||||
|
||||
|
|
|
@ -18,14 +18,9 @@
|
|||
*/
|
||||
|
||||
|
||||
// C and C++ includes
|
||||
#include <stdlib.h>
|
||||
|
||||
// program-sensitive includes
|
||||
#include <hash.hxx>
|
||||
|
||||
#include <rtl/character.hxx>
|
||||
|
||||
SvStringHashEntry * SvStringHashTable::Insert( const OString& rElement, sal_uInt32 * pInsertPos )
|
||||
{
|
||||
auto it = maString2IntMap.find(rElement);
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include <rtl/character.hxx>
|
||||
|
||||
#include <basobj.hxx>
|
||||
#include <module.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <database.hxx>
|
||||
|
||||
void SvMetaObject::WriteTab( SvStream & rOutStm, sal_uInt16 nTab )
|
||||
|
|
|
@ -18,13 +18,10 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <limits.h>
|
||||
#include <bastype.hxx>
|
||||
#include <lex.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <hash.hxx>
|
||||
#include <database.hxx>
|
||||
#include <tools/stream.hxx>
|
||||
|
||||
bool SvBOOL::ReadSvIdl( SvStringHashEntry const * pName, SvTokenStream & rInStm )
|
||||
{
|
||||
|
|
|
@ -18,9 +18,7 @@
|
|||
*/
|
||||
|
||||
#include <module.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <database.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
||||
SvMetaModule::SvMetaModule() {}
|
||||
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
#include <algorithm>
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <osl/diagnose.h>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
#include <object.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <database.hxx>
|
||||
#include <slot.hxx>
|
||||
|
||||
|
||||
SvClassElement::SvClassElement()
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <osl/diagnose.h>
|
||||
#include <tools/debug.hxx>
|
||||
#include <slot.hxx>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <osl/diagnose.h>
|
||||
#include <rtl/character.hxx>
|
||||
|
|
|
@ -21,11 +21,12 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string_view>
|
||||
|
||||
#include <command.hxx>
|
||||
#include <database.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <slot.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
||||
|
|
|
@ -18,10 +18,8 @@
|
|||
*/
|
||||
|
||||
#include <sal/config.h>
|
||||
#include <rtl/instance.hxx>
|
||||
|
||||
#include <globals.hxx>
|
||||
#include <database.hxx>
|
||||
|
||||
IdlDll & GetIdlApp()
|
||||
{
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <parser.hxx>
|
||||
#include <database.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <slot.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
||||
void SvIdlParser::ReadSvIdl( const OUString & rPath )
|
||||
|
|
|
@ -18,10 +18,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <database.hxx>
|
||||
#include <globals.hxx>
|
||||
#include <command.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include <com/sun/star/io/IOException.hpp>
|
||||
|
||||
#include <osl/diagnose.h>
|
||||
#include <osl/mutex.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <unordered_set>
|
||||
|
||||
#include <mutex>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <com/sun/star/connection/XConnection.hpp>
|
||||
#include <com/sun/star/connection/XConnectionBroadcaster.hpp>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include "connector.hxx"
|
||||
#include <com/sun/star/io/IOException.hpp>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
||||
using namespace ::osl;
|
||||
using namespace ::com::sun::star::uno;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include <cppuhelper/basemutex.hxx>
|
||||
#include <jvmaccess/virtualmachine.hxx>
|
||||
#include <jvmaccess/unovirtualmachine.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <config_folders.h>
|
||||
|
||||
#include <sal/config.h>
|
||||
#include <sal/log.hxx>
|
||||
#include <rtl/bootstrap.hxx>
|
||||
#include <rtl/byteseq.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "sunversion.hxx"
|
||||
#include <osl/thread.h>
|
||||
#include <rtl/character.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <string.h>
|
||||
namespace jfw_plugin { //stoc_javadetect
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
|
||||
#include <string_view>
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
namespace jfw_plugin
|
||||
{
|
||||
/* SunVersion is used to compare java versions based on a string, as taken
|
||||
|
|
|
@ -26,8 +26,10 @@
|
|||
#include <rtl/ref.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <osl/diagnose.h>
|
||||
#ifdef _WIN32
|
||||
#include <osl/file.hxx>
|
||||
#include <osl/process.h>
|
||||
#endif
|
||||
#include <osl/thread.hxx>
|
||||
#include <jvmfwk/framework.hxx>
|
||||
#include <vendorbase.hxx>
|
||||
|
|
9
l10ntools/IwyuFilter_l10ntools.yaml
Normal file
9
l10ntools/IwyuFilter_l10ntools.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
assumeFilename: l10ntools/source/helpmerge.cxx
|
||||
excludelist:
|
||||
l10ntools/source/idxdict/idxdict.cxx:
|
||||
# Actually needed
|
||||
- fstream
|
||||
l10ntools/source/xmlparse.cxx:
|
||||
# Actually needed
|
||||
- fstream
|
|
@ -27,6 +27,7 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
#include "po.hxx"
|
||||
#include "export.hxx"
|
||||
|
||||
typedef std::unordered_map<OString, OString> OStringHashMap;
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <string_view>
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
|
|
|
@ -21,27 +21,17 @@
|
|||
#define INCLUDED_L10NTOOLS_INC_EXPORT_HXX
|
||||
|
||||
#include <sal/config.h>
|
||||
#include "po.hxx"
|
||||
|
||||
#include <cstddef>
|
||||
#include <fstream>
|
||||
#include <rtl/string.hxx>
|
||||
|
||||
#include <osl/file.hxx>
|
||||
#include <osl/file.h>
|
||||
|
||||
#include <iterator>
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include <queue>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <direct.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#define NO_TRANSLATE_ISO "x-no-translate"
|
||||
|
|
|
@ -16,12 +16,9 @@
|
|||
|
||||
#include <string_view>
|
||||
|
||||
#include <sal/types.h>
|
||||
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/xmlstring.h>
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
|
||||
|
||||
namespace helper {
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
|
||||
#include <string_view>
|
||||
|
||||
#include "export.hxx"
|
||||
#include "xmlparse.hxx"
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
|
||||
/// This Class is responsible for extracting/merging OpenOffice XML Helpfiles
|
||||
class HelpParser
|
||||
|
|
|
@ -22,11 +22,10 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <vector>
|
||||
|
||||
#include "common.hxx"
|
||||
#include "export.hxx"
|
||||
#include "po.hxx"
|
||||
|
||||
#define LNG_OK 0x0000
|
||||
#define LNG_COULD_NOT_OPEN 0x0001
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include <libxml/tree.h>
|
||||
#include <rtl/string.hxx>
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
Class for localization of *.tree files
|
||||
|
|
|
@ -26,14 +26,10 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include <libxml/xmlexports.h>
|
||||
#include <expat.h>
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include "export.hxx"
|
||||
#include <unordered_map>
|
||||
|
||||
class XMLParentNode;
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
#include <fstream>
|
||||
#include <string_view>
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
|
||||
#include "export.hxx"
|
||||
#include "po.hxx"
|
||||
|
||||
/// Parser for *.xrm and description.xml files
|
||||
class XRMResParser
|
||||
{
|
||||
|
|
|
@ -24,8 +24,7 @@
|
|||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <rtl/strbuf.hxx>
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <common.hxx>
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <libxml/parser.h>
|
||||
|
||||
#include <o3tl/safeint.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
|
||||
#include <helper.hxx>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <sal/config.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
|
||||
|
|
|
@ -20,21 +20,14 @@
|
|||
#include <sal/config.h>
|
||||
|
||||
#include <fstream>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include <osl/file.hxx>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <helpmerge.hxx>
|
||||
#include <algorithm>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <rtl/strbuf.hxx>
|
||||
|
||||
#ifdef _WIN32
|
||||
#if !defined WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include <sal/main.h>
|
||||
|
||||
#include <common.hxx>
|
||||
|
||||
#include <lngmerge.hxx>
|
||||
|
||||
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
#include <sal/config.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <fstream>
|
||||
#include <iterator>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <common.hxx>
|
||||
#include <po.hxx>
|
||||
#include <lngmerge.hxx>
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <sal/config.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <rtl/crc.h>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
|
|
|
@ -7,11 +7,12 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
#include <memory>
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -8,13 +8,11 @@
|
|||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
#include <libxml/tree.h>
|
||||
#include <libxml/parser.h>
|
||||
#include <libxml/xmlmemory.h>
|
||||
#include <libxml/xmlstring.h>
|
||||
|
||||
#include <export.hxx>
|
||||
|
|
|
@ -18,19 +18,17 @@
|
|||
*/
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <iterator> /* std::iterator*/
|
||||
|
||||
#include <cassert>
|
||||
#include <stdio.h>
|
||||
#include <string_view>
|
||||
|
||||
#include <helper.hxx>
|
||||
#include <common.hxx>
|
||||
#include <xmlparse.hxx>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <osl/thread.hxx>
|
||||
#include <osl/file.hxx>
|
||||
#include <osl/process.h>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <unicode/regex.h>
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <common.hxx>
|
||||
|
@ -31,7 +29,6 @@
|
|||
#include <tokens.h>
|
||||
#include <helper.hxx>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <gdk/gdkkeysyms.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include <LibreOfficeKit/LibreOfficeKitGtk.h>
|
||||
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
|
||||
|
|
|
@ -11,10 +11,9 @@
|
|||
#error Build system problem; LIBO_INTERNAL_ONLY should not be defined here
|
||||
#endif
|
||||
|
||||
#include <LibreOfficeKit/LibreOfficeKit.hxx>
|
||||
|
||||
#include <sal/config.h>
|
||||
#include <sal/saldllapi.h>
|
||||
#include <sal/types.h>
|
||||
|
||||
#include <cppunit/plugin/TestPlugIn.h>
|
||||
|
||||
CPPUNIT_PLUGIN_IMPLEMENT();
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#ifndef INCLUDED_LIBREOFFICEKIT_QA_TEST_H
|
||||
#define INCLUDED_LIBREOFFICEKIT_QA_TEST_H
|
||||
|
||||
#include <LibreOfficeKit/LibreOfficeKit.h>
|
||||
|
||||
LibreOfficeKit* compile_test(void);
|
||||
|
||||
#endif // INCLUDED_LIBREOFFICEKIT_QA_TEST_H
|
||||
|
|
20
lingucomponent/IwyuFilter_lingucomponent.yaml
Normal file
20
lingucomponent/IwyuFilter_lingucomponent.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
assumeFilename: lingucomponent/source/spellcheck/spell/sspellimp.cxx
|
||||
excludelist:
|
||||
lingucomponent/source/lingutil/lingutil.hxx:
|
||||
# Needed on WIN
|
||||
- rtl/string.hxx
|
||||
lingucomponent/source/languageguessing/guesslang.cxx:
|
||||
# Needed for code protected by EXTTEXTCAT_VERSION_MAJOR
|
||||
- libexttextcat/textcat.h
|
||||
- tools/debug.hxx
|
||||
- sal/macros.h
|
||||
lingucomponent/source/numbertext/numbertext.cxx:
|
||||
# Needed on WIN
|
||||
- o3tl/char16_t2wchar_t.hxx
|
||||
lingucomponent/source/spellcheck/spell/sspellimp.cxx:
|
||||
# Needed for SpellFailure::SPELLING_ERROR
|
||||
- com/sun/star/linguistic2/SpellFailure.hpp
|
||||
lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx:
|
||||
# Actually used
|
||||
- com/sun/star/linguistic2/XLinguProperties.hpp
|
|
@ -23,8 +23,6 @@
|
|||
#include <cppuhelper/factory.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <com/sun/star/registry/XRegistryKey.hpp>
|
||||
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
||||
#include <com/sun/star/linguistic2/XLinguProperties.hpp>
|
||||
#include <i18nlangtag/languagetag.hxx>
|
||||
#include <tools/debug.hxx>
|
||||
|
@ -40,12 +38,9 @@
|
|||
#include <rtl/textenc.h>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
#include <linguistic/lngprops.hxx>
|
||||
#include <linguistic/misc.hxx>
|
||||
#include <svtools/strings.hrc>
|
||||
#include <unotools/charclass.hxx>
|
||||
#include <unotools/pathoptions.hxx>
|
||||
#include <unotools/useroptions.hxx>
|
||||
#include <unotools/lingucfg.hxx>
|
||||
#include <unotools/resmgr.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <sal/config.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef SYSTEM_LIBEXTTEXTCAT
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
#include <cppuhelper/factory.hxx>
|
||||
#include <cppuhelper/implementationentry.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
|
||||
|
|
|
@ -28,21 +28,17 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef SYSTEM_LIBEXTTEXTCAT
|
||||
#include <libexttextcat/textcat.h>
|
||||
#include <libexttextcat/common.h>
|
||||
#include <libexttextcat/constants.h>
|
||||
#include <libexttextcat/fingerprint.h>
|
||||
#include <libexttextcat/utf8misc.h>
|
||||
#else
|
||||
#include <textcat.h>
|
||||
#include <common.h>
|
||||
#include <constants.h>
|
||||
#include <fingerprint.h>
|
||||
#include <utf8misc.h>
|
||||
#endif
|
||||
|
||||
#include <sal/types.h>
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
#ifndef INCLUDED_LINGUCOMPONENT_SOURCE_LANGUAGEGUESSING_SIMPLEGUESSER_HXX
|
||||
#define INCLUDED_LINGUCOMPONENT_SOURCE_LANGUAGEGUESSING_SIMPLEGUESSER_HXX
|
||||
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <cstdlib>
|
||||
#include <vector>
|
||||
#include "guess.hxx"
|
||||
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
#ifndef INCLUDED_LINGUCOMPONENT_SOURCE_LINGUTIL_LINGUTIL_HXX
|
||||
#define INCLUDED_LINGUCOMPONENT_SOURCE_LINGUTIL_LINGUTIL_HXX
|
||||
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
#include <rtl/string.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
|
||||
#include <osl/file.hxx>
|
||||
|
@ -26,19 +25,15 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
#include <cppuhelper/factory.hxx>
|
||||
#include <cppuhelper/implementationentry.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
|
||||
#include <i18nlangtag/languagetag.hxx>
|
||||
#include <com/sun/star/lang/IllegalArgumentException.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/linguistic2/XNumberText.hpp>
|
||||
#include <unotools/pathoptions.hxx>
|
||||
#include <osl/thread.h>
|
||||
|
||||
#include <sal/macros.h>
|
||||
|
||||
#include <Numbertext.hxx>
|
||||
|
||||
using namespace ::osl;
|
||||
|
|
|
@ -23,12 +23,9 @@
|
|||
#include <com/sun/star/linguistic2/XLinguProperties.hpp>
|
||||
#include <comphelper/lok.hxx>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <cppuhelper/factory.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <com/sun/star/registry/XRegistryKey.hpp>
|
||||
#include <tools/debug.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
#include <osl/thread.h>
|
||||
|
@ -38,14 +35,12 @@
|
|||
#include <hunspell.hxx>
|
||||
#include "sspellimp.hxx"
|
||||
|
||||
#include <linguistic/lngprops.hxx>
|
||||
#include <linguistic/misc.hxx>
|
||||
#include <linguistic/spelldta.hxx>
|
||||
#include <i18nlangtag/languagetag.hxx>
|
||||
#include <svtools/strings.hrc>
|
||||
#include <unotools/pathoptions.hxx>
|
||||
#include <unotools/lingucfg.hxx>
|
||||
#include <unotools/resmgr.hxx>
|
||||
#include <unotools/useroptions.hxx>
|
||||
#include <osl/file.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/textenc.h>
|
||||
|
|
|
@ -25,25 +25,22 @@
|
|||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <com/sun/star/lang/XServiceDisplayName.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/beans/PropertyValues.hpp>
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/linguistic2/XSpellChecker.hpp>
|
||||
#include <com/sun/star/linguistic2/XLinguServiceEventBroadcaster.hpp>
|
||||
|
||||
#include <linguistic/misc.hxx>
|
||||
#include <linguistic/lngprophelp.hxx>
|
||||
|
||||
#include <lingutil.hxx>
|
||||
#include <memory>
|
||||
|
||||
#include <hunspell.hxx>
|
||||
|
||||
using namespace ::com::sun::star::uno;
|
||||
using namespace ::com::sun::star::beans;
|
||||
using namespace ::com::sun::star::lang;
|
||||
using namespace ::com::sun::star::linguistic2;
|
||||
|
||||
class Hunspell;
|
||||
|
||||
class SpellChecker :
|
||||
public cppu::WeakImplHelper
|
||||
<
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
#include <cppuhelper/factory.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
||||
#include <com/sun/star/registry/XRegistryKey.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/linguistic2/LinguServiceManager.hpp>
|
||||
#include <com/sun/star/linguistic2/XLinguProperties.hpp>
|
||||
#include <com/sun/star/linguistic2/XSpellChecker1.hpp>
|
||||
|
@ -34,19 +31,16 @@
|
|||
#include <comphelper/sequence.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
#include <osl/thread.h>
|
||||
#include <unotools/pathoptions.hxx>
|
||||
#include <unotools/lingucfg.hxx>
|
||||
#include <unotools/resmgr.hxx>
|
||||
|
||||
#include <rtl/string.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/textenc.h>
|
||||
|
||||
#include <svtools/strings.hrc>
|
||||
|
||||
#include "nthesimp.hxx"
|
||||
#include <linguistic/misc.hxx>
|
||||
#include <linguistic/lngprops.hxx>
|
||||
#include "nthesdta.hxx"
|
||||
|
||||
#include <vector>
|
||||
|
|
|
@ -4,3 +4,6 @@ excludelist:
|
|||
linguistic/source/hyphdsp.cxx:
|
||||
# Needed for direct member access
|
||||
- com/sun/star/linguistic2/XLinguProperties.hpp
|
||||
linguistic/source/convdic.cxx:
|
||||
# Actually used
|
||||
- com/sun/star/util/XFlushListener.hpp
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
|
||||
#include <cppuhelper/factory.hxx>
|
||||
#include <i18nlangtag/mslangid.hxx>
|
||||
#include <osl/file.hxx>
|
||||
#include <tools/debug.hxx>
|
||||
#include <tools/stream.hxx>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define INCLUDED_LINGUISTIC_SOURCE_LNGOPT_HXX
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/interfacecontainer.hxx>
|
||||
#include <comphelper/interfacecontainer3.hxx>
|
||||
#include <comphelper/multiinterfacecontainer3.hxx>
|
||||
#include <com/sun/star/beans/XFastPropertySet.hpp>
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
|
||||
#include <tools/debug.hxx>
|
||||
#include <sal/macros.h>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
#include <com/sun/star/linguistic2/LinguServiceEvent.hpp>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include <vcl/timer.hxx>
|
||||
#include <vcl/idle.hxx>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
class SpellCheckerDispatcher;
|
||||
|
|
|
@ -38,13 +38,11 @@
|
|||
#include <unotools/charclass.hxx>
|
||||
#include <unotools/linguprops.hxx>
|
||||
#include <unotools/localedatawrapper.hxx>
|
||||
#include <unotools/syslocale.hxx>
|
||||
#include <svtools/strings.hrc>
|
||||
#include <unotools/resmgr.hxx>
|
||||
|
||||
#include <linguistic/misc.hxx>
|
||||
#include <linguistic/hyphdta.hxx>
|
||||
#include <mutex>
|
||||
|
||||
using namespace osl;
|
||||
using namespace com::sun::star;
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
#ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFDRAWOBJ_HXX
|
||||
#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFDRAWOBJ_HXX
|
||||
|
||||
#include <xfilter/xfglobal.hxx>
|
||||
#include <xfilter/xfframe.hxx>
|
||||
#include <basegfx/numeric/ftools.hxx>
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFGLOBAL_HXX
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <cmath>
|
||||
|
||||
#define FLOAT_MIN 0.001
|
||||
#define MAX2(a, b) (((a) > (b)) ? (a) : (b))
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
#include <xfilter/xfcell.hxx>
|
||||
#include <xfilter/xfcontent.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <map>
|
||||
|
||||
class XFCell;
|
||||
class XFTable;
|
||||
|
|
|
@ -54,12 +54,12 @@
|
|||
*
|
||||
************************************************************************/
|
||||
#include <lwpglobalmgr.hxx>
|
||||
#include "lwpcharacterstyle.hxx"
|
||||
#include "lwpdoc.hxx"
|
||||
#include "lwpfootnote.hxx"
|
||||
#include "lwppagehint.hxx"
|
||||
#include "lwpdivinfo.hxx"
|
||||
#include "lwpholder.hxx"
|
||||
#include "lwpparastyle.hxx"
|
||||
#include "lwpstory.hxx"
|
||||
#include "lwpsilverbullet.hxx"
|
||||
#include "lwpsortopt.hxx"
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
|
||||
#include <xfilter/xfframe.hxx>
|
||||
|
||||
#include <xfilter/xfglobal.hxx>
|
||||
#include <xfilter/xfstylemanager.hxx>
|
||||
#include <xfilter/xfdrawstyle.hxx>
|
||||
#include <xfilter/xfparastyle.hxx>
|
||||
|
|
|
@ -308,8 +308,6 @@ protected:
|
|||
void Read() override;
|
||||
};
|
||||
|
||||
#include "lwpcelllayout.hxx"
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
Loading…
Reference in a new issue