diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-13 19:48:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 18:36:09 +0100 |
commit | c82efb610bf556ea12cbe4f94568ac619897799f (patch) | |
tree | 997f443876b4f3c9f10a46f2d0df65093f9d8731 /emfio | |
parent | 04405edc3fac32938b8940bc767656ea6c7820f9 (diff) |
clang-tidy modernize-concat-nested-namespace
Change-Id: Iab35a8b85b3ba1df791c774f40b037f9420a071a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86708
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r-- | emfio/source/emfuno/xemfparser.cxx | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/emfio/source/emfuno/xemfparser.cxx b/emfio/source/emfuno/xemfparser.cxx index e80dc5631dbd..3297dea8f30a 100644 --- a/emfio/source/emfuno/xemfparser.cxx +++ b/emfio/source/emfuno/xemfparser.cxx @@ -40,10 +40,8 @@ using namespace ::com::sun::star; -namespace emfio +namespace emfio::emfreader { - namespace emfreader - { namespace { class XEmfParser : public ::cppu::WeakAggImplHelper2< graphic::XEmfParser, lang::XServiceInfo > @@ -71,14 +69,11 @@ namespace emfio }; } - } // end of namespace emfreader -} // end of namespace emfio +} // end of namespace emfio::emfreader // uno functions -namespace emfio +namespace emfio::emfreader { - namespace emfreader - { uno::Sequence< OUString > XEmfParser_getSupportedServiceNames() { return uno::Sequence< OUString > { "com.sun.star.graphic.EmfTools" }; @@ -93,13 +88,10 @@ namespace emfio { return static_cast< ::cppu::OWeakObject* >(new XEmfParser(context)); } - } // end of namespace emfreader -} // end of namespace emfio +} // end of namespace emfio::emfreader -namespace emfio +namespace emfio::emfreader { - namespace emfreader - { XEmfParser::XEmfParser( uno::Reference< uno::XComponentContext > const & context): context_(context) @@ -229,7 +221,6 @@ namespace emfio return XEmfParser_getSupportedServiceNames(); } - } // end of namespace emfreader -} // end of namespace emfio +} // end of namespace emfio::emfreader /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |