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 /test | |
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 'test')
-rw-r--r-- | test/source/helper/form.cxx | 10 | ||||
-rw-r--r-- | test/source/helper/shape.cxx | 10 | ||||
-rw-r--r-- | test/source/helper/transferable.cxx | 10 |
3 files changed, 6 insertions, 24 deletions
diff --git a/test/source/helper/form.cxx b/test/source/helper/form.cxx index 89e9fb1a9536..77e6b163524c 100644 --- a/test/source/helper/form.cxx +++ b/test/source/helper/form.cxx @@ -22,11 +22,7 @@ using namespace css; -namespace apitest -{ -namespace helper -{ -namespace form +namespace apitest::helper::form { uno::Reference<drawing::XControlShape> OOO_DLLPUBLIC_TEST createCommandButton(const uno::Reference<lang::XComponent>& r_xComponent, @@ -60,8 +56,6 @@ uno::Reference<drawing::XControlShape> OOO_DLLPUBLIC_TEST createControlShape( return xControlShape; } -} // namespace form -} // namespace helper -} // namespace apitest +} // namespace apitest::helper::form /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/test/source/helper/shape.cxx b/test/source/helper/shape.cxx index abb86e39e1a9..4fafcc0c7e48 100644 --- a/test/source/helper/shape.cxx +++ b/test/source/helper/shape.cxx @@ -19,11 +19,7 @@ using namespace css; -namespace apitest -{ -namespace helper -{ -namespace shape +namespace apitest::helper::shape { uno::Reference<drawing::XShape> OOO_DLLPUBLIC_TEST createEllipse(const uno::Reference<lang::XComponent>& r_xComponent, @@ -70,8 +66,6 @@ uno::Reference<drawing::XShape> return xShape; } -} // namespace shape -} // namespace helper -} // namespace apitest +} // namespace apitest::helper::shape /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/test/source/helper/transferable.cxx b/test/source/helper/transferable.cxx index febcb294242d..e8990d925d18 100644 --- a/test/source/helper/transferable.cxx +++ b/test/source/helper/transferable.cxx @@ -12,11 +12,7 @@ using namespace css; -namespace apitest -{ -namespace helper -{ -namespace transferable +namespace apitest::helper::transferable { OString OOO_DLLPUBLIC_TEST getTextSelection( const css::uno::Reference<css::datatransfer::XTransferable>& xTransferable, OString mimeType) @@ -80,8 +76,6 @@ OString OOO_DLLPUBLIC_TEST getTextSelection( return aRet; } -} // namespace transferable -} // namespace helper -} // namespace apitest +} // namespace apitest::helper::transferable /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |