diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-10 15:19:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-20 10:12:57 +0200 |
commit | da7489eb6aa9dfedb43f9be6e1b90e3ae06a75cc (patch) | |
tree | a83a32677046ede93c124af8edc8801bcb6e896f /xmloff | |
parent | abea0d6647c7f1f7e76c73c26cb80e6a67dc5111 (diff) |
compact namespace decl
used
git grep -lw namespace
| xargs perl -i -p0e 's/(\w+)\s*.\{.\s*namespace\s*(\w+)/\1::\2/smg;'
to do the initial replace, then compiled and fixed.
Change-Id: If69904d75940c851aeffab0e78c4ba02cc968d44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98526
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/fasttokenhandler.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/chart/ColorPropertySet.hxx | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/xmloff/inc/fasttokenhandler.hxx b/xmloff/inc/fasttokenhandler.hxx index 8e5a1cbb1c6e..076cd90b55f4 100644 --- a/xmloff/inc/fasttokenhandler.hxx +++ b/xmloff/inc/fasttokenhandler.hxx @@ -18,8 +18,7 @@ #include <sal/log.hxx> #include <xmloff/dllapi.h> -namespace xmloff { -namespace token { +namespace xmloff::token { class TokenMap { @@ -89,8 +88,7 @@ private: TokenMap& mrTokenMap; }; -} // namespace token -} // namespace xmloff +} // namespace xmloff::token #endif diff --git a/xmloff/source/chart/ColorPropertySet.hxx b/xmloff/source/chart/ColorPropertySet.hxx index f10d9e10ef45..c3d3d560e914 100644 --- a/xmloff/source/chart/ColorPropertySet.hxx +++ b/xmloff/source/chart/ColorPropertySet.hxx @@ -25,9 +25,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertyState.hpp> -namespace xmloff -{ -namespace chart +namespace xmloff::chart { class ColorPropertySet : public ::cppu::WeakImplHelper< @@ -76,8 +74,7 @@ private: Color m_nDefaultColor; }; -} // namespace chart -} // namespace xmloff +} // namespace xmloff::chart // XMLOFF_COLORPROPERTYSET_HXX #endif |