xmloff/source/chart/XMLChartStyleContext.cxx | 1 - xmloff/source/core/DomBuilderContext.cxx | 1 - xmloff/source/draw/XMLGraphicsDefaultStyle.cxx | 1 - xmloff/source/draw/XMLImageMapContext.cxx | 1 - xmloff/source/draw/layerimp.cxx | 1 - xmloff/source/draw/xexptran.cxx | 2 -- xmloff/source/forms/elementimport.cxx | 1 - xmloff/source/forms/officeforms.cxx | 1 - xmloff/source/forms/propertyimport.cxx | 1 - xmloff/source/script/XMLEventImportHelper.cxx | 2 -- xmloff/source/script/XMLEventsImportContext.cxx | 1 - xmloff/source/style/PageHeaderFooterContext.cxx | 1 - xmloff/source/style/XMLFootnoteSeparatorImport.cxx | 1 - xmloff/source/text/XMLAutoMarkFileContext.cxx | 2 -- xmloff/source/text/XMLAutoTextContainerEventImport.cxx | 2 -- xmloff/source/text/XMLAutoTextEventExport.cxx | 1 - xmloff/source/text/XMLAutoTextEventImport.cxx | 1 - xmloff/source/text/XMLChangeElementImportContext.cxx | 2 -- xmloff/source/text/XMLChangeImportContext.cxx | 2 -- xmloff/source/text/XMLChangeInfoContext.cxx | 1 - xmloff/source/text/XMLChangedRegionImportContext.cxx | 1 - xmloff/source/text/XMLFootnoteBodyImportContext.cxx | 1 - xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx | 2 -- xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx | 1 - xmloff/source/text/XMLIndexBibliographyEntryContext.cxx | 1 - xmloff/source/text/XMLIndexBibliographySourceContext.cxx | 1 - xmloff/source/text/XMLIndexBodyContext.cxx | 1 - xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx | 1 - xmloff/source/text/XMLIndexIllustrationSourceContext.cxx | 2 -- xmloff/source/text/XMLIndexObjectSourceContext.cxx | 2 -- xmloff/source/text/XMLIndexSimpleEntryContext.cxx | 2 -- xmloff/source/text/XMLIndexSourceBaseContext.cxx | 1 - xmloff/source/text/XMLIndexTOCContext.cxx | 1 - xmloff/source/text/XMLIndexTOCSourceContext.cxx | 1 - xmloff/source/text/XMLIndexTOCStylesContext.cxx | 1 - xmloff/source/text/XMLIndexTabStopEntryContext.cxx | 1 - xmloff/source/text/XMLIndexTableSourceContext.cxx | 1 - xmloff/source/text/XMLIndexTemplateContext.cxx | 1 - xmloff/source/text/XMLIndexTitleTemplateContext.cxx | 2 -- xmloff/source/text/XMLIndexUserSourceContext.cxx | 2 -- xmloff/source/text/XMLLineNumberingImportContext.cxx | 1 - xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx | 2 -- xmloff/source/text/XMLSectionFootnoteConfigImport.cxx | 1 - xmloff/source/text/XMLSectionImportContext.cxx | 1 - xmloff/source/text/XMLSectionSourceImportContext.cxx | 1 - xmloff/source/text/XMLStringBufferImportContext.cxx | 2 -- xmloff/source/text/XMLTextMasterStylesContext.cxx | 1 - xmloff/source/text/XMLTrackedChangesImportContext.cxx | 1 - xmloff/source/xforms/XFormsInstanceContext.cxx | 1 - xmloff/source/xforms/XFormsSubmissionContext.cxx | 1 - 50 files changed, 64 deletions(-)
New commits: commit 36db242816099bdc3ed2573df1230313056c552c Author: Gabor Kelemen <kelem...@ubuntu.com> AuthorDate: Wed Apr 12 00:28:17 2023 +0200 Commit: Gabor Kelemen <kelem...@ubuntu.com> CommitDate: Fri Apr 21 22:22:33 2023 +0200 Run clang-tidy with misc-unused-using-decls on module xmloff To remove unneeded using declarations. Via the simple script: for i in $(find $dirname -name "*cxx" -o -name "*hxx" ); do clang-tidy-12 --checks="-*,misc-unused-using-decls" "$i"; done Change-Id: Iccae38de41c809b39345ec6b31c9f6346e620f53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150611 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelem...@ubuntu.com> diff --git a/xmloff/source/chart/XMLChartStyleContext.cxx b/xmloff/source/chart/XMLChartStyleContext.cxx index db30d22c96b3..fd8ff45d162e 100644 --- a/xmloff/source/chart/XMLChartStyleContext.cxx +++ b/xmloff/source/chart/XMLChartStyleContext.cxx @@ -32,7 +32,6 @@ #include "XMLChartPropertyContext.hxx" using namespace com::sun::star; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_DATA_STYLE_NAME; using ::xmloff::token::XML_PERCENTAGE_DATA_STYLE_NAME; using ::xmloff::token::XML_TEXT_PROPERTIES; diff --git a/xmloff/source/core/DomBuilderContext.cxx b/xmloff/source/core/DomBuilderContext.cxx index 066d8e6038c4..594fc17d08d7 100644 --- a/xmloff/source/core/DomBuilderContext.cxx +++ b/xmloff/source/core/DomBuilderContext.cxx @@ -48,7 +48,6 @@ using com::sun::star::xml::dom::XDocument; using com::sun::star::xml::dom::XDocumentBuilder; using com::sun::star::xml::dom::XNode; using com::sun::star::xml::dom::XElement; -using com::sun::star::xml::sax::XAttributeList; using com::sun::star::xml::dom::NodeType_ELEMENT_NODE; diff --git a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx index 4f9799c48666..4341c6db98cc 100644 --- a/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx +++ b/xmloff/source/draw/XMLGraphicsDefaultStyle.cxx @@ -43,7 +43,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::xml::sax; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_TEXT_PROPERTIES; using ::xmloff::token::XML_GRAPHIC_PROPERTIES; using ::xmloff::token::XML_PARAGRAPH_PROPERTIES; diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index 1b9c295d03ef..a9c70f2c70d4 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -52,7 +52,6 @@ using ::com::sun::star::container::XIndexContainer; using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::uno::XInterface; using ::com::sun::star::uno::Any; using ::com::sun::star::document::XEventsSupplier; diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index 990e46128a7c..eeffae04e997 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -45,7 +45,6 @@ using namespace ::com::sun::star::drawing; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::container; -using ::xmloff::token::IsXMLToken; namespace { diff --git a/xmloff/source/draw/xexptran.cxx b/xmloff/source/draw/xexptran.cxx index 8975241f895e..3665533eeff7 100644 --- a/xmloff/source/draw/xexptran.cxx +++ b/xmloff/source/draw/xexptran.cxx @@ -36,8 +36,6 @@ using namespace ::com::sun::star; -using std::make_unique; - // parsing help functions for simple chars static void Imp_SkipSpaces(std::u16string_view rStr, sal_Int32& rPos, const sal_Int32 nLen) { diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 174029e5f1d5..fdb5508a5232 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -71,7 +71,6 @@ namespace xmloff using namespace ::com::sun::star::util; using namespace ::com::sun::star::text; using namespace ::comphelper; - using ::com::sun::star::xml::sax::XAttributeList; #define PROPID_VALUE 1 #define PROPID_CURRENT_VALUE 2 diff --git a/xmloff/source/forms/officeforms.cxx b/xmloff/source/forms/officeforms.cxx index 782ab824ccd7..42148c711ea0 100644 --- a/xmloff/source/forms/officeforms.cxx +++ b/xmloff/source/forms/officeforms.cxx @@ -38,7 +38,6 @@ namespace xmloff using namespace ::com::sun::star::beans; using namespace ::com::sun::star::xml; using ::xmloff::token::XML_FORMS; - using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::xml::sax::XFastAttributeList; //= OFormsRootImport diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx index 7f6e60fbe344..96ee3ebe69a7 100644 --- a/xmloff/source/forms/propertyimport.cxx +++ b/xmloff/source/forms/propertyimport.cxx @@ -50,7 +50,6 @@ namespace xmloff using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::xml; - using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::xml::sax::XFastAttributeList; // NO using namespace ...util !!! diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx index aebfd13dc7ee..83662c5ffc06 100644 --- a/xmloff/source/script/XMLEventImportHelper.cxx +++ b/xmloff/source/script/XMLEventImportHelper.cxx @@ -25,9 +25,7 @@ #include <xmloff/xmlnamespace.hxx> #include <xmloff/xmlerror.hxx> -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; XMLEventImportHelper::XMLEventImportHelper() : pEventNameMap(new NameMap) diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx index f128cfa625f9..10c8f55d97aa 100644 --- a/xmloff/source/script/XMLEventsImportContext.cxx +++ b/xmloff/source/script/XMLEventsImportContext.cxx @@ -32,7 +32,6 @@ using namespace ::com::sun::star::uno; using namespace ::xmloff::token; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::container::XNameReplace; using ::com::sun::star::document::XEventsSupplier; diff --git a/xmloff/source/style/PageHeaderFooterContext.cxx b/xmloff/source/style/PageHeaderFooterContext.cxx index 3fac72dbbadb..b36473361ff0 100644 --- a/xmloff/source/style/PageHeaderFooterContext.cxx +++ b/xmloff/source/style/PageHeaderFooterContext.cxx @@ -27,7 +27,6 @@ #include <sal/log.hxx> using namespace com::sun::star; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_HEADER_FOOTER_PROPERTIES; PageHeaderFooterContext::PageHeaderFooterContext( SvXMLImport& rImport, diff --git a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx index d77d7671b516..6b3be1892ca1 100644 --- a/xmloff/source/style/XMLFootnoteSeparatorImport.cxx +++ b/xmloff/source/style/XMLFootnoteSeparatorImport.cxx @@ -51,7 +51,6 @@ using namespace ::xmloff::token; using ::std::vector; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; XMLFootnoteSeparatorImport::XMLFootnoteSeparatorImport( diff --git a/xmloff/source/text/XMLAutoMarkFileContext.cxx b/xmloff/source/text/XMLAutoMarkFileContext.cxx index 1582465af597..c7237aa78351 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.cxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.cxx @@ -33,10 +33,8 @@ using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::beans::XPropertySet; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_HREF; diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx index bb5101b52afa..9ac584865cbb 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.cxx @@ -31,9 +31,7 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::container::XNameReplace; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_EVENT_LISTENERS; diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx index 21abaf0a7454..b6a089e8a038 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.cxx +++ b/xmloff/source/text/XMLAutoTextEventExport.cxx @@ -41,7 +41,6 @@ using namespace ::xmloff::token; using ::com::sun::star::container::XNameReplace; using ::com::sun::star::document::XEventsSupplier; -using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::Reference; diff --git a/xmloff/source/text/XMLAutoTextEventImport.cxx b/xmloff/source/text/XMLAutoTextEventImport.cxx index c55634606c7e..cb76f062ba27 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.cxx +++ b/xmloff/source/text/XMLAutoTextEventImport.cxx @@ -37,7 +37,6 @@ using ::com::sun::star::uno::Type; using ::com::sun::star::uno::XInterface; using ::com::sun::star::document::XEventsSupplier; using ::com::sun::star::container::XNameReplace; -using ::com::sun::star::lang::XMultiServiceFactory; using ::xmloff::token::XML_AUTO_TEXT_EVENTS; XMLAutoTextEventImport::XMLAutoTextEventImport( diff --git a/xmloff/source/text/XMLChangeElementImportContext.cxx b/xmloff/source/text/XMLChangeElementImportContext.cxx index 9c521f1601f0..550bbcd9650c 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.cxx +++ b/xmloff/source/text/XMLChangeElementImportContext.cxx @@ -28,8 +28,6 @@ using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_CHANGE_INFO; diff --git a/xmloff/source/text/XMLChangeImportContext.cxx b/xmloff/source/text/XMLChangeImportContext.cxx index 0ef536df90e7..35e766e76879 100644 --- a/xmloff/source/text/XMLChangeImportContext.cxx +++ b/xmloff/source/text/XMLChangeImportContext.cxx @@ -25,8 +25,6 @@ #include <sal/log.hxx> using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_CHANGE_ID; diff --git a/xmloff/source/text/XMLChangeInfoContext.cxx b/xmloff/source/text/XMLChangeInfoContext.cxx index 9dddbad72a67..7ceb2f1c16b8 100644 --- a/xmloff/source/text/XMLChangeInfoContext.cxx +++ b/xmloff/source/text/XMLChangeInfoContext.cxx @@ -30,7 +30,6 @@ using namespace ::xmloff::token; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; XMLChangeInfoContext::XMLChangeInfoContext( diff --git a/xmloff/source/text/XMLChangedRegionImportContext.cxx b/xmloff/source/text/XMLChangedRegionImportContext.cxx index fe00c4a058b9..4e80ddab94c0 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.cxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.cxx @@ -37,7 +37,6 @@ using namespace ::xmloff::token; using ::com::sun::star::uno::Reference; using ::com::sun::star::text::XTextCursor; using namespace ::com::sun::star; -using ::com::sun::star::xml::sax::XAttributeList; XMLChangedRegionImportContext::XMLChangedRegionImportContext(SvXMLImport& rImport) : diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx index 406d30d75289..2e9b76ccaa7b 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx @@ -25,7 +25,6 @@ #include <com/sun/star/xml/sax/XAttributeList.hpp> using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; XMLFootnoteBodyImportContext::XMLFootnoteBodyImportContext( SvXMLImport& rImport ) : diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx index d3210421f525..fe6013619daa 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.cxx @@ -38,8 +38,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using namespace ::xmloff::token; XMLIndexAlphabeticalSourceContext::XMLIndexAlphabeticalSourceContext( diff --git a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx index 246a804a7e99..822d77912500 100644 --- a/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyConfigurationContext.cxx @@ -39,7 +39,6 @@ using namespace ::com::sun::star::text; using namespace ::com::sun::star::uno; using namespace ::xmloff::token; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::xml::sax::XFastAttributeList; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::beans::XPropertySet; diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx index fdb2657fd3e0..8ae78e990203 100644 --- a/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.cxx @@ -36,7 +36,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexBibliographyEntryContext::XMLIndexBibliographyEntryContext( diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.cxx b/xmloff/source/text/XMLIndexBibliographySourceContext.cxx index 226e5b10dc3a..426505fc2787 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.cxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.cxx @@ -33,7 +33,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexBibliographySourceContext::XMLIndexBibliographySourceContext( diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index 05392d57a4b4..53a7def1d2c0 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -24,7 +24,6 @@ #include <rtl/ustring.hxx> using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexBodyContext::XMLIndexBodyContext( SvXMLImport& rImport ) : diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx index 18355fe2e839..b17d05739caf 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx @@ -40,7 +40,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexChapterInfoEntryContext::XMLIndexChapterInfoEntryContext( diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx index 74f2ed9332c6..3148bc71ec67 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.cxx @@ -29,8 +29,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_ILLUSTRATION_INDEX_ENTRY_TEMPLATE; using ::xmloff::token::XML_TOKEN_INVALID; diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.cxx b/xmloff/source/text/XMLIndexObjectSourceContext.cxx index 847ec680b0cd..805ce796aaa8 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.cxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.cxx @@ -36,8 +36,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using namespace ::xmloff::token; diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx index 5986d83d9e7b..d8f2e79bc259 100644 --- a/xmloff/source/text/XMLIndexSimpleEntryContext.cxx +++ b/xmloff/source/text/XMLIndexSimpleEntryContext.cxx @@ -35,8 +35,6 @@ using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_STYLE_NAME; diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.cxx b/xmloff/source/text/XMLIndexSourceBaseContext.cxx index 242e95012781..366daed58f32 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.cxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.cxx @@ -36,7 +36,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexSourceBaseContext::XMLIndexSourceBaseContext( diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx index e7235f093efa..85ea6ecf231f 100644 --- a/xmloff/source/text/XMLIndexTOCContext.cxx +++ b/xmloff/source/text/XMLIndexTOCContext.cxx @@ -54,7 +54,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::lang::IllegalArgumentException; diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.cxx b/xmloff/source/text/XMLIndexTOCSourceContext.cxx index bea5ff58ad4c..8850493b8660 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.cxx @@ -35,7 +35,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexTOCSourceContext::XMLIndexTOCSourceContext( SvXMLImport& rImport, diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx index c3e2c5b4ec31..ff9cfaa4cb7c 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx @@ -40,7 +40,6 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; using ::com::sun::star::container::XIndexReplace; -using ::com::sun::star::xml::sax::XAttributeList; diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx index 528b72a7a33a..cf7b339a04d8 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.cxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.cxx @@ -36,7 +36,6 @@ using namespace ::xmloff::token; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; using ::com::sun::star::beans::PropertyValue; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexTabStopEntryContext::XMLIndexTabStopEntryContext( diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx index 3a7f8a5a779b..48855b6ac02a 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx @@ -41,7 +41,6 @@ using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; XMLIndexTableSourceContext::XMLIndexTableSourceContext( SvXMLImport& rImport, Reference<XPropertySet> & rPropSet) diff --git a/xmloff/source/text/XMLIndexTemplateContext.cxx b/xmloff/source/text/XMLIndexTemplateContext.cxx index a9b1e32f6a27..411e4c6b94b0 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTemplateContext.cxx @@ -47,7 +47,6 @@ using ::com::sun::star::beans::PropertyValues; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::container::XIndexReplace; XMLIndexTemplateContext::XMLIndexTemplateContext( diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.cxx b/xmloff/source/text/XMLIndexTitleTemplateContext.cxx index e5c690f09d49..5d1f47fdb8a1 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.cxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.cxx @@ -32,8 +32,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_STYLE_NAME; diff --git a/xmloff/source/text/XMLIndexUserSourceContext.cxx b/xmloff/source/text/XMLIndexUserSourceContext.cxx index ebaf6ee23e4e..e139a66c83b3 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.cxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.cxx @@ -31,8 +31,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Any; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using namespace ::xmloff::token; XMLIndexUserSourceContext::XMLIndexUserSourceContext( diff --git a/xmloff/source/text/XMLLineNumberingImportContext.cxx b/xmloff/source/text/XMLLineNumberingImportContext.cxx index ad0f162013c0..0ba08972df2f 100644 --- a/xmloff/source/text/XMLLineNumberingImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingImportContext.cxx @@ -39,7 +39,6 @@ using namespace ::com::sun::star::style; using namespace ::xmloff::token; using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::xml::sax::XFastAttributeList; using ::com::sun::star::text::XLineNumberingProperties; diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx index a275307275d1..1482494aedc3 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.cxx @@ -30,8 +30,6 @@ using namespace ::com::sun::star::uno; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_INCREMENT; diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx index 138c3b1a33b8..113e7f2d22cf 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.cxx @@ -44,7 +44,6 @@ using namespace ::com::sun::star::style; using ::std::vector; using ::com::sun::star::uno::Any; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; XMLSectionFootnoteConfigImport::XMLSectionFootnoteConfigImport( diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx index 54620ddfe5a9..554096c887b3 100644 --- a/xmloff/source/text/XMLSectionImportContext.cxx +++ b/xmloff/source/text/XMLSectionImportContext.cxx @@ -41,7 +41,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; using ::com::sun::star::xml::sax::XFastAttributeList; using ::com::sun::star::lang::XMultiServiceFactory; using ::com::sun::star::container::XNamed; diff --git a/xmloff/source/text/XMLSectionSourceImportContext.cxx b/xmloff/source/text/XMLSectionSourceImportContext.cxx index c24ffd9e912e..e8f12a85a272 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.cxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.cxx @@ -31,7 +31,6 @@ using ::com::sun::star::beans::XPropertySet; using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::text; diff --git a/xmloff/source/text/XMLStringBufferImportContext.cxx b/xmloff/source/text/XMLStringBufferImportContext.cxx index 9e25d6234694..254994a3adfd 100644 --- a/xmloff/source/text/XMLStringBufferImportContext.cxx +++ b/xmloff/source/text/XMLStringBufferImportContext.cxx @@ -23,8 +23,6 @@ using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_P; XMLStringBufferImportContext::XMLStringBufferImportContext( diff --git a/xmloff/source/text/XMLTextMasterStylesContext.cxx b/xmloff/source/text/XMLTextMasterStylesContext.cxx index 91e637b91b70..608cc6307764 100644 --- a/xmloff/source/text/XMLTextMasterStylesContext.cxx +++ b/xmloff/source/text/XMLTextMasterStylesContext.cxx @@ -27,7 +27,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::sax; -using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_MASTER_PAGE; diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.cxx b/xmloff/source/text/XMLTrackedChangesImportContext.cxx index 63e0d1497764..57a71e0dbf9b 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.cxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.cxx @@ -29,7 +29,6 @@ using ::com::sun::star::uno::Reference; -using ::com::sun::star::xml::sax::XAttributeList; using namespace ::xmloff::token; diff --git a/xmloff/source/xforms/XFormsInstanceContext.cxx b/xmloff/source/xforms/XFormsInstanceContext.cxx index 37d56a94ab75..e6e6ec2a2fa4 100644 --- a/xmloff/source/xforms/XFormsInstanceContext.cxx +++ b/xmloff/source/xforms/XFormsInstanceContext.cxx @@ -41,7 +41,6 @@ using com::sun::star::uno::Any; using com::sun::star::uno::Sequence; using com::sun::star::xforms::XModel2; using com::sun::star::beans::PropertyValue; -using com::sun::star::xml::sax::XAttributeList; using xmloff::token::XML_SRC; using xmloff::token::XML_ID; diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx index 2e57d5f43feb..49369765820a 100644 --- a/xmloff/source/xforms/XFormsSubmissionContext.cxx +++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx @@ -34,7 +34,6 @@ #include <osl/diagnose.h> #include <sal/log.hxx> -using com::sun::star::xml::sax::XAttributeList; using com::sun::star::xforms::XModel2; using namespace com::sun::star::uno;