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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/misc/imageresourceaccess.cxx | 7 | ||||
-rw-r--r-- | svtools/source/table/defaultinputhandler.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/gridtablerenderer.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/mousefunction.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/tabledatawindow.cxx | 4 | ||||
-rw-r--r-- | svtools/source/table/tablegeometry.cxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/unocontroltablemodel.cxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.cxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardpagecontroller.cxx | 4 | ||||
-rw-r--r-- | svtools/source/uno/wizard/wizardshell.cxx | 4 |
12 files changed, 24 insertions, 27 deletions
diff --git a/svtools/source/misc/imageresourceaccess.cxx b/svtools/source/misc/imageresourceaccess.cxx index cd9cfba3b45a..24db4ae50ac3 100644 --- a/svtools/source/misc/imageresourceaccess.cxx +++ b/svtools/source/misc/imageresourceaccess.cxx @@ -31,9 +31,7 @@ #include <unotools/streamwrap.hxx> #include <cppuhelper/implbase.hxx> -namespace svt -{ -namespace GraphicAccess +namespace svt::GraphicAccess { using namespace ::utl; @@ -164,7 +162,6 @@ uno::Reference<io::XInputStream> getImageXStream(uno::Reference<uno::XComponentC return new OSeekableInputStreamWrapper(getImageStream(rxContext, rImageResourceURL).release(), true); // take ownership } -} // namespace GraphicAccess -} // namespace svt +} // namespace svt::GraphicAccess /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/defaultinputhandler.cxx b/svtools/source/table/defaultinputhandler.cxx index 82cd1b6679df..099c8cc50c23 100644 --- a/svtools/source/table/defaultinputhandler.cxx +++ b/svtools/source/table/defaultinputhandler.cxx @@ -27,7 +27,7 @@ #include <osl/diagnose.h> -namespace svt { namespace table +namespace svt::table { @@ -195,7 +195,7 @@ namespace svt { namespace table } -} } // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx index f30a8e9e719e..43257e3cbde6 100644 --- a/svtools/source/table/gridtablerenderer.cxx +++ b/svtools/source/table/gridtablerenderer.cxx @@ -33,7 +33,7 @@ #include <vcl/settings.hxx> -namespace svt { namespace table +namespace svt::table { using ::css::uno::Any; using ::css::uno::Reference; @@ -597,7 +597,7 @@ namespace svt { namespace table } -} } // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/mousefunction.cxx b/svtools/source/table/mousefunction.cxx index ce294aae1f40..a21ee2644108 100644 --- a/svtools/source/table/mousefunction.cxx +++ b/svtools/source/table/mousefunction.cxx @@ -27,7 +27,7 @@ #include <vcl/ptrstyle.hxx> -namespace svt { namespace table +namespace svt::table { @@ -270,7 +270,7 @@ namespace svt { namespace table } -} } // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index dda4d974dabe..ce88591a5048 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -37,7 +37,7 @@ using namespace ::com::sun::star::accessibility; using namespace ::com::sun::star::lang; using namespace utl; -namespace svt { namespace table +namespace svt::table { @@ -640,7 +640,7 @@ namespace svt { namespace table } } -}} // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index f2a7a3f8d856..db1aa7d384fb 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -46,7 +46,7 @@ #define MIN_COLUMN_WIDTH_PIXEL 4 -namespace svt { namespace table +namespace svt::table { @@ -2547,7 +2547,7 @@ namespace svt { namespace table } -} } // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx index 74bf17153c15..837097516eda 100644 --- a/svtools/source/table/tabledatawindow.cxx +++ b/svtools/source/table/tabledatawindow.cxx @@ -27,7 +27,7 @@ #include <vcl/settings.hxx> #include <vcl/commandevent.hxx> -namespace svt { namespace table +namespace svt::table { using css::uno::Any; @@ -194,7 +194,7 @@ namespace svt { namespace table return bDone || Window::EventNotify( rNEvt ); } -}} // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/table/tablegeometry.cxx b/svtools/source/table/tablegeometry.cxx index f7376a14907c..5b18826c50f7 100644 --- a/svtools/source/table/tablegeometry.cxx +++ b/svtools/source/table/tablegeometry.cxx @@ -22,7 +22,7 @@ #include "tablecontrol_impl.hxx" -namespace svt { namespace table +namespace svt::table { @@ -148,7 +148,7 @@ namespace svt { namespace table } -} } // namespace svt::table +} // namespace svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx index 32785a32fd8d..0477b82ca53d 100644 --- a/svtools/source/uno/unocontroltablemodel.cxx +++ b/svtools/source/uno/unocontroltablemodel.cxx @@ -33,7 +33,7 @@ #include <tools/diagnose_ex.h> -namespace svt { namespace table +namespace svt::table { @@ -872,6 +872,6 @@ namespace svt { namespace table } -} } // svt::table +} // svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 87df92307e27..e73e4d958673 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -29,7 +29,7 @@ #include <cppuhelper/implbase.hxx> -namespace svt { namespace table +namespace svt::table { @@ -306,7 +306,7 @@ namespace svt { namespace table } -} } // svt::table +} // svt::table /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/wizard/wizardpagecontroller.cxx b/svtools/source/uno/wizard/wizardpagecontroller.cxx index 3faf68258b10..ed988e20bd80 100644 --- a/svtools/source/uno/wizard/wizardpagecontroller.cxx +++ b/svtools/source/uno/wizard/wizardpagecontroller.cxx @@ -27,7 +27,7 @@ #include <tools/diagnose_ex.h> -namespace svt { namespace uno +namespace svt::uno { @@ -128,7 +128,7 @@ namespace svt { namespace uno } -} } // namespace svt::uno +} // namespace svt::uno /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx index ea3007e502d5..7876e62ac65f 100644 --- a/svtools/source/uno/wizard/wizardshell.cxx +++ b/svtools/source/uno/wizard/wizardshell.cxx @@ -27,7 +27,7 @@ using vcl::RoadmapWizardTypes::WizardPath; -namespace svt { namespace uno +namespace svt::uno { @@ -251,7 +251,7 @@ namespace svt { namespace uno } -} } // namespace svt::uno +} // namespace svt::uno /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |