diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2019-09-13 10:23:08 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2019-09-16 12:32:15 +0200 |
commit | 94552560fe319aa16f219e70c1caa5d63e0e1419 (patch) | |
tree | 82d7a0e14c3edd076e1a03f54f16203eb2ac9d22 | |
parent | d7db9cf313c3e86f9ab48163509f17edfd9d3d0b (diff) |
sw access: cleanup namespaces declaration
Change-Id: I2e3db2645c00c4a5d917693b509a1b8e6c446eb8
Reviewed-on: https://gerrit.libreoffice.org/78863
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | sw/source/core/access/accfrmobj.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/acchypertextdata.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/access/accpara.cxx | 8 | ||||
-rw-r--r-- | sw/source/core/access/acctable.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/textmarkuphelper.hxx | 6 |
5 files changed, 13 insertions, 15 deletions
diff --git a/sw/source/core/access/accfrmobj.cxx b/sw/source/core/access/accfrmobj.cxx index c4bae0b8f0b8..ad0bfa55cc7f 100644 --- a/sw/source/core/access/accfrmobj.cxx +++ b/sw/source/core/access/accfrmobj.cxx @@ -35,7 +35,7 @@ #include <vcl/window.hxx> -namespace sw { namespace access { +namespace sw::access { SwAccessibleChild::SwAccessibleChild() : mpFrame( nullptr ) @@ -403,6 +403,6 @@ const SwFrame* SwAccessibleChild::GetParent( const bool bInPagePreview ) const return pParent; } -} } // eof of namespace sw::access +} // eof of namespace sw::access /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/access/acchypertextdata.hxx b/sw/source/core/access/acchypertextdata.hxx index 7a0c5e775c8c..01833885a091 100644 --- a/sw/source/core/access/acchypertextdata.hxx +++ b/sw/source/core/access/acchypertextdata.hxx @@ -24,9 +24,9 @@ #include <map> class SwTextAttr; -namespace com { namespace sun { namespace star { - namespace accessibility { class XAccessibleHyperlink; } -} } } +namespace com::sun::star::accessibility { + class XAccessibleHyperlink; +} class SwAccessibleHyperTextData { diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 389adb8c5b0b..59587621c3b5 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -104,11 +104,9 @@ using std::max; using std::min; using std::sort; -namespace com { namespace sun { namespace star { - namespace text { - class XText; - } -} } } +namespace com::sun::star::text { + class XText; +} const sal_Char sServiceName[] = "com.sun.star.text.AccessibleParagraphView"; const sal_Char sImplementationName[] = "com.sun.star.comp.Writer.SwAccessibleParagraphView"; diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx index 6d98e5b32daa..39a21f024aa7 100644 --- a/sw/source/core/access/acctable.hxx +++ b/sw/source/core/access/acctable.hxx @@ -36,9 +36,9 @@ class SwAccessibleTableData_Impl; class SwTableBox; class SwSelBoxes; -namespace sw { namespace access { +namespace sw::access { class SwAccessibleChild; -} } +} class SwAccessibleTable : public SwAccessibleContext, diff --git a/sw/source/core/access/textmarkuphelper.hxx b/sw/source/core/access/textmarkuphelper.hxx index a359e15a04b1..6db3f9bc0e34 100644 --- a/sw/source/core/access/textmarkuphelper.hxx +++ b/sw/source/core/access/textmarkuphelper.hxx @@ -22,9 +22,9 @@ #include <sal/types.h> #include <com/sun/star/uno/Sequence.h> -namespace com { namespace sun { namespace star { namespace accessibility { -struct TextSegment; -} } } } +namespace com::sun::star::accessibility { + struct TextSegment; +} class SwAccessiblePortionData; class SwTextFrame; |