diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-10 09:20:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-10 13:56:07 +0200 |
commit | 12903057343f5d909e400fe778280a1c320923a6 (patch) | |
tree | 060005089b19f74cc8bdec6623f82a22778f648f /xmloff/source/text | |
parent | d5a6aaa23350208ae049975c77df6a9cdef4ac36 (diff) |
compact namespace in xmlhelp..xmlsecurity
Change-Id: I54f0a47a4b7a1f85481fd1e643ac55459d0383ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93907
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text')
45 files changed, 133 insertions, 134 deletions
diff --git a/xmloff/source/text/XMLAutoMarkFileContext.hxx b/xmloff/source/text/XMLAutoMarkFileContext.hxx index 71d00fcb84f9..0bb621d59bfb 100644 --- a/xmloff/source/text/XMLAutoMarkFileContext.hxx +++ b/xmloff/source/text/XMLAutoMarkFileContext.hxx @@ -23,11 +23,11 @@ #include <xmloff/xmlictxt.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace uno { template<class X> class Reference; } namespace beans { class XPropertySet; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} class XMLAutoMarkFileContext : public SvXMLImportContext diff --git a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx index 686e9b0cd3d6..1910c301f423 100644 --- a/xmloff/source/text/XMLAutoTextContainerEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextContainerEventImport.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace container { class XNameReplace; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} /** diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx index 890eafaa771f..8135ad81b6f0 100644 --- a/xmloff/source/text/XMLAutoTextEventExport.hxx +++ b/xmloff/source/text/XMLAutoTextEventExport.hxx @@ -23,7 +23,7 @@ #include <xmloff/xmlexp.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace container { class XNameAccess; } namespace frame { class XModel; } namespace lang { class XMultiServiceFactory; } @@ -31,8 +31,8 @@ namespace com { namespace sun { namespace star { namespace uno { template<class X> class Sequence; } namespace uno { class XInterface; } namespace uno { class Exception; } - namespace xml { namespace sax { class XDocumentHandler; } } -} } } + namespace xml::sax { class XDocumentHandler; } +} /** diff --git a/xmloff/source/text/XMLAutoTextEventImport.hxx b/xmloff/source/text/XMLAutoTextEventImport.hxx index bc612eaae234..8dd605e3661c 100644 --- a/xmloff/source/text/XMLAutoTextEventImport.hxx +++ b/xmloff/source/text/XMLAutoTextEventImport.hxx @@ -25,15 +25,15 @@ #include <com/sun/star/uno/Reference.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace frame { class XModel; } namespace text { class XAutoTextContainer; } namespace text { class XAutoTextGroup; } namespace text { class XAutoTextEntry; } namespace uno { template<class X> class Reference; } namespace uno { template<class X> class Sequence; } - namespace xml { namespace sax { class XDocumentHandler; } } -} } } + namespace xml::sax { class XDocumentHandler; } +} class XMLAutoTextEventImport : public SvXMLImport diff --git a/xmloff/source/text/XMLChangeElementImportContext.hxx b/xmloff/source/text/XMLChangeElementImportContext.hxx index f1fe47ef2e99..99ba062c6339 100644 --- a/xmloff/source/text/XMLChangeElementImportContext.hxx +++ b/xmloff/source/text/XMLChangeElementImportContext.hxx @@ -25,11 +25,11 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { +namespace com::sun::star { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} class XMLChangedRegionImportContext; diff --git a/xmloff/source/text/XMLChangeImportContext.hxx b/xmloff/source/text/XMLChangeImportContext.hxx index a2e88e809ae7..4f6f4de65187 100644 --- a/xmloff/source/text/XMLChangeImportContext.hxx +++ b/xmloff/source/text/XMLChangeImportContext.hxx @@ -25,11 +25,11 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { +namespace com::sun::star { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} /** diff --git a/xmloff/source/text/XMLChangeInfoContext.hxx b/xmloff/source/text/XMLChangeInfoContext.hxx index 1e0cf5b9daa3..557ebdad2d64 100644 --- a/xmloff/source/text/XMLChangeInfoContext.hxx +++ b/xmloff/source/text/XMLChangeInfoContext.hxx @@ -26,9 +26,9 @@ #include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} class XMLChangedRegionImportContext; diff --git a/xmloff/source/text/XMLChangedRegionImportContext.hxx b/xmloff/source/text/XMLChangedRegionImportContext.hxx index c82712c5b6f6..629a3090f7cd 100644 --- a/xmloff/source/text/XMLChangedRegionImportContext.hxx +++ b/xmloff/source/text/XMLChangedRegionImportContext.hxx @@ -25,14 +25,14 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextCursor; } - namespace xml { namespace sax { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} /** * Import <text:changed-region> elements contained in a diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx index 56fb359bb244..647867a5cdcf 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.hxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.hxx @@ -24,11 +24,11 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { +namespace com::sun::star { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} /// import foot- and endnote body elements (<text:footnote-body>) diff --git a/xmloff/source/text/XMLFootnoteImportContext.hxx b/xmloff/source/text/XMLFootnoteImportContext.hxx index 0a6d8ce40b82..b499e5831757 100644 --- a/xmloff/source/text/XMLFootnoteImportContext.hxx +++ b/xmloff/source/text/XMLFootnoteImportContext.hxx @@ -24,15 +24,15 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextCursor; class XFootnote; } - namespace xml { namespace sax { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} class XMLTextImportHelper; /// import footnote elements (<text:footnote>) diff --git a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx index cdf0894b65d8..aa640d1f4fb3 100644 --- a/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx +++ b/xmloff/source/text/XMLIndexAlphabeticalSourceContext.hxx @@ -25,10 +25,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx index 3be35668f814..e2fd7e108e9b 100644 --- a/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographyEntryContext.hxx @@ -26,9 +26,9 @@ #include <com/sun/star/beans/PropertyValue.hpp> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} class XMLIndexTemplateContext; template<typename EnumT> struct SvXMLEnumMapEntry; diff --git a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx index c2e6ff61ef1f..c2f7f928561a 100644 --- a/xmloff/source/text/XMLIndexBibliographySourceContext.hxx +++ b/xmloff/source/text/XMLIndexBibliographySourceContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexBodyContext.hxx b/xmloff/source/text/XMLIndexBodyContext.hxx index 0c4aeffdf989..01688a1f2cdb 100644 --- a/xmloff/source/text/XMLIndexBodyContext.hxx +++ b/xmloff/source/text/XMLIndexBodyContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** * Import index body. diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx index 3d05aa2dc568..34d750347c33 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.hxx @@ -26,9 +26,9 @@ #include <com/sun/star/beans/PropertyValue.hpp> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} class XMLIndexTemplateContext; /** diff --git a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx index 8e7d4d38bb01..8033bddf941a 100644 --- a/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx +++ b/xmloff/source/text/XMLIndexIllustrationSourceContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexMarkExport.hxx b/xmloff/source/text/XMLIndexMarkExport.hxx index 158aa00498c4..05cd150518e2 100644 --- a/xmloff/source/text/XMLIndexMarkExport.hxx +++ b/xmloff/source/text/XMLIndexMarkExport.hxx @@ -24,9 +24,9 @@ #include <com/sun/star/uno/Reference.h> class SvXMLExport; -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } - } } } +} /** diff --git a/xmloff/source/text/XMLIndexObjectSourceContext.hxx b/xmloff/source/text/XMLIndexObjectSourceContext.hxx index 8c5139840eba..0bc9b98fbc4c 100644 --- a/xmloff/source/text/XMLIndexObjectSourceContext.hxx +++ b/xmloff/source/text/XMLIndexObjectSourceContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx index 50748c9bf0ab..3e3ebd10f3f6 100644 --- a/xmloff/source/text/XMLIndexSimpleEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSimpleEntryContext.hxx @@ -26,9 +26,9 @@ #include <com/sun/star/beans/PropertyValue.hpp> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} class XMLIndexTemplateContext; /** diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx index 09973439c805..c1e6122e6032 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx @@ -25,10 +25,10 @@ #include <rtl/ustring.hxx> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} enum IndexSourceParamEnum { diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.hxx b/xmloff/source/text/XMLIndexSpanEntryContext.hxx index bed33dde1f89..9fa2be5c8f93 100644 --- a/xmloff/source/text/XMLIndexSpanEntryContext.hxx +++ b/xmloff/source/text/XMLIndexSpanEntryContext.hxx @@ -25,9 +25,9 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <rtl/ustrbuf.hxx> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} /** * Import index entry templates diff --git a/xmloff/source/text/XMLIndexTOCContext.hxx b/xmloff/source/text/XMLIndexTOCContext.hxx index 2238f8455d06..c24d283b98ef 100644 --- a/xmloff/source/text/XMLIndexTOCContext.hxx +++ b/xmloff/source/text/XMLIndexTOCContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} enum IndexTypeEnum diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.hxx b/xmloff/source/text/XMLIndexTOCSourceContext.hxx index a36b4ce88345..1f56671c2a14 100644 --- a/xmloff/source/text/XMLIndexTOCSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTOCSourceContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.hxx b/xmloff/source/text/XMLIndexTOCStylesContext.hxx index ecd002872471..6f9733c73ff5 100644 --- a/xmloff/source/text/XMLIndexTOCStylesContext.hxx +++ b/xmloff/source/text/XMLIndexTOCStylesContext.hxx @@ -25,10 +25,10 @@ #include <vector> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx index 8d91c37bd238..9437fa2e7e96 100644 --- a/xmloff/source/text/XMLIndexTabStopEntryContext.hxx +++ b/xmloff/source/text/XMLIndexTabStopEntryContext.hxx @@ -27,9 +27,9 @@ #include <com/sun/star/beans/PropertyValue.hpp> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} class XMLIndexTemplateContext; /** diff --git a/xmloff/source/text/XMLIndexTableSourceContext.hxx b/xmloff/source/text/XMLIndexTableSourceContext.hxx index b80d29220b3a..ef40cdecbd36 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.hxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLIndexTemplateContext.hxx b/xmloff/source/text/XMLIndexTemplateContext.hxx index 177e7db5896d..58b0775de430 100644 --- a/xmloff/source/text/XMLIndexTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTemplateContext.hxx @@ -28,10 +28,10 @@ #include <com/sun/star/beans/PropertyValues.hpp> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} template<typename EnumT> struct SvXMLEnumMapEntry; diff --git a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx index e91cfeec3ee0..348030ca15c3 100644 --- a/xmloff/source/text/XMLIndexTitleTemplateContext.hxx +++ b/xmloff/source/text/XMLIndexTitleTemplateContext.hxx @@ -26,10 +26,10 @@ #include <rtl/ustrbuf.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} /** diff --git a/xmloff/source/text/XMLIndexUserSourceContext.hxx b/xmloff/source/text/XMLIndexUserSourceContext.hxx index 9a39dae86ba2..17581322a536 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.hxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } namespace beans { class XPropertySet; } -} } } +} /** diff --git a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx index 2cc3a54c2fbc..a42b28fe4e5b 100644 --- a/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx +++ b/xmloff/source/text/XMLLineNumberingSeparatorImportContext.hxx @@ -26,9 +26,9 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace xml::sax { class XAttributeList; } +} class XMLLineNumberingImportContext; diff --git a/xmloff/source/text/XMLPropertyBackpatcher.hxx b/xmloff/source/text/XMLPropertyBackpatcher.hxx index d3fa054b9050..10165c488d53 100644 --- a/xmloff/source/text/XMLPropertyBackpatcher.hxx +++ b/xmloff/source/text/XMLPropertyBackpatcher.hxx @@ -27,10 +27,10 @@ #include <memory> #include <vector> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } namespace uno { template<class A> class Reference; } -} } } +} /** This class maintains an OUString->sal_Int16 mapping for cases in diff --git a/xmloff/source/text/XMLRedlineExport.hxx b/xmloff/source/text/XMLRedlineExport.hxx index 3d78a7338aae..3da7d70ddbd8 100644 --- a/xmloff/source/text/XMLRedlineExport.hxx +++ b/xmloff/source/text/XMLRedlineExport.hxx @@ -28,13 +28,13 @@ #include <map> class SvXMLExport; -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } namespace beans { struct PropertyValue; } namespace text { class XText; } namespace text { class XTextContent; } namespace text { class XTextSection; } - } } } +} // store a list of redline properties typedef ::std::vector< diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx index 21894717b4f6..72c6247bcd2c 100644 --- a/xmloff/source/text/XMLSectionExport.hxx +++ b/xmloff/source/text/XMLSectionExport.hxx @@ -28,7 +28,7 @@ class SvXMLExport; class XMLTextParagraphExport; -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextSection; @@ -43,7 +43,7 @@ namespace com { namespace sun { namespace star { { class XIndexReplace; } -} } } +} enum SectionTypeEnum diff --git a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx index 4ee4f2e68c2a..095352536f4f 100644 --- a/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx +++ b/xmloff/source/text/XMLSectionFootnoteConfigImport.hxx @@ -29,10 +29,10 @@ class SvXMLImport; struct XMLPropertyState; class XMLPropertySetMapper; -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace uno { template<class X> class Reference; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} /** diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx index 8e15a9fcb92d..fb2656b12210 100644 --- a/xmloff/source/text/XMLSectionImportContext.hxx +++ b/xmloff/source/text/XMLSectionImportContext.hxx @@ -24,11 +24,11 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextRange; } namespace beans { class XPropertySet; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} /** diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx index a67058f680cb..7f646c65a067 100644 --- a/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.hxx @@ -23,10 +23,10 @@ #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} class XMLSectionSourceDDEImportContext : public SvXMLImportContext { diff --git a/xmloff/source/text/XMLSectionSourceImportContext.hxx b/xmloff/source/text/XMLSectionSourceImportContext.hxx index 865e9753ff6f..9bdb6b7733eb 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.hxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.hxx @@ -23,10 +23,10 @@ #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } - namespace xml { namespace sax { class XAttributeList; } } -} } } + namespace xml::sax { class XAttributeList; } +} class XMLSectionSourceImportContext : public SvXMLImportContext { diff --git a/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx b/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx index 4c41d9db361d..da592981a7d9 100644 --- a/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx +++ b/xmloff/source/text/XMLTextCharStyleNamesElementExport.hxx @@ -23,9 +23,9 @@ #include <com/sun/star/uno/Reference.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace beans { class XPropertySet; } -} } } +} class SvXMLExport; diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx index e3c570c477fe..c37972712028 100644 --- a/xmloff/source/text/XMLTextFrameContext.hxx +++ b/xmloff/source/text/XMLTextFrameContext.hxx @@ -26,9 +26,9 @@ #include <xmloff/xmlictxt.hxx> #include <xmlmultiimagehelper.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextCursor; class XTextContent; } -} } } +} class XMLTextFrameContextHyperlink_Impl; diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx index eb3906e18c25..f11f81e20de9 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.hxx @@ -25,10 +25,10 @@ #include <com/sun/star/text/TextContentAnchorType.hpp> #include <xmloff/xmlictxt.hxx> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextCursor; class XTextFrame; } namespace beans { class XPropertySet; } -} } } +} class XMLTextFrameHyperlinkContext : public SvXMLImportContext { diff --git a/xmloff/source/text/XMLTextMarkImportContext.hxx b/xmloff/source/text/XMLTextMarkImportContext.hxx index 8f68bb055d74..347273ef162a 100644 --- a/xmloff/source/text/XMLTextMarkImportContext.hxx +++ b/xmloff/source/text/XMLTextMarkImportContext.hxx @@ -25,15 +25,15 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextRange; class XTextContent; } - namespace xml { namespace sax { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} class XMLTextImportHelper; class XMLFieldParamImportContext : public SvXMLImportContext diff --git a/xmloff/source/text/XMLTextNumRuleInfo.hxx b/xmloff/source/text/XMLTextNumRuleInfo.hxx index 26394e17b059..28555f88af26 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.hxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.hxx @@ -24,9 +24,9 @@ #include <com/sun/star/container/XIndexReplace.hpp> #include <sal/types.h> -namespace com { namespace sun { namespace star { +namespace com::sun::star { namespace text { class XTextContent; } -} } } +} class XMLTextListAutoStylePool; diff --git a/xmloff/source/text/XMLTrackedChangesImportContext.hxx b/xmloff/source/text/XMLTrackedChangesImportContext.hxx index 3abaa438b2e8..5e2af606b644 100644 --- a/xmloff/source/text/XMLTrackedChangesImportContext.hxx +++ b/xmloff/source/text/XMLTrackedChangesImportContext.hxx @@ -25,11 +25,11 @@ #include <com/sun/star/uno/Reference.h> -namespace com { namespace sun { namespace star { - namespace xml { namespace sax { +namespace com::sun::star { + namespace xml::sax { class XAttributeList; - } } -} } } + } +} class XMLTrackedChangesImportContext : public SvXMLImportContext { diff --git a/xmloff/source/text/txtdrope.hxx b/xmloff/source/text/txtdrope.hxx index 28eb57502be8..271a4f85e653 100644 --- a/xmloff/source/text/txtdrope.hxx +++ b/xmloff/source/text/txtdrope.hxx @@ -23,8 +23,7 @@ #include <rtl/ustring.hxx> class SvXMLExport; -namespace com { namespace sun { namespace star { namespace uno { - class Any; } } } } +namespace com::sun::star::uno { class Any; } class XMLTextDropCapExport { diff --git a/xmloff/source/text/txtparai.hxx b/xmloff/source/text/txtparai.hxx index 7dcba0007e40..3b4a61a1c89d 100644 --- a/xmloff/source/text/txtparai.hxx +++ b/xmloff/source/text/txtparai.hxx @@ -25,10 +25,10 @@ #include <xmloff/xmlictxt.hxx> class XMLHints_Impl; -namespace com { namespace sun { namespace star { -namespace text { class XTextRange; } -namespace xml { namespace sax { class XAttributeList; } } -} } } +namespace com::sun::star { + namespace text { class XTextRange; } + namespace xml::sax { class XAttributeList; } +} #define CONV_FROM_STAR_BATS 1 #define CONV_FROM_STAR_MATH 2 |