summaryrefslogtreecommitdiff
path: root/oox/source/drawingml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-14 20:53:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-15 06:58:34 +0100
commita7f28581ad27705a86e6945f03cf219f7e4aa969 (patch)
tree95b6db0f066490dc5c7c688d2ce80c00788aef8c /oox/source/drawingml
parent6d64015430b387b615b6df137dc168caa9632cb3 (diff)
clang-tidy modernize-concat-nested-namespace in oox
Change-Id: I9877be75e1f7dcefdf7172d05dfbb0a63d06ced1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86803 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r--oox/source/drawingml/ThemeOverrideFragmentHandler.cxx4
-rw-r--r--oox/source/drawingml/chart/axiscontext.cxx6
-rw-r--r--oox/source/drawingml/chart/axisconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/axismodel.cxx6
-rw-r--r--oox/source/drawingml/chart/chartcontextbase.cxx6
-rw-r--r--oox/source/drawingml/chart/chartconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/chartdrawingfragment.cxx6
-rw-r--r--oox/source/drawingml/chart/chartspaceconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/chartspacefragment.cxx6
-rw-r--r--oox/source/drawingml/chart/chartspacemodel.cxx6
-rw-r--r--oox/source/drawingml/chart/converterbase.cxx6
-rw-r--r--oox/source/drawingml/chart/datasourcecontext.cxx6
-rw-r--r--oox/source/drawingml/chart/datasourceconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/datasourcemodel.cxx6
-rw-r--r--oox/source/drawingml/chart/modelbase.cxx6
-rw-r--r--oox/source/drawingml/chart/objectformatter.cxx6
-rw-r--r--oox/source/drawingml/chart/plotareacontext.cxx6
-rw-r--r--oox/source/drawingml/chart/plotareaconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/plotareamodel.cxx6
-rw-r--r--oox/source/drawingml/chart/seriescontext.cxx6
-rw-r--r--oox/source/drawingml/chart/seriesconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/seriesmodel.cxx6
-rw-r--r--oox/source/drawingml/chart/titlecontext.cxx6
-rw-r--r--oox/source/drawingml/chart/titleconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/titlemodel.cxx6
-rw-r--r--oox/source/drawingml/chart/typegroupcontext.cxx6
-rw-r--r--oox/source/drawingml/chart/typegroupconverter.cxx6
-rw-r--r--oox/source/drawingml/chart/typegroupmodel.cxx6
-rw-r--r--oox/source/drawingml/clrscheme.cxx4
-rw-r--r--oox/source/drawingml/clrschemecontext.cxx4
-rw-r--r--oox/source/drawingml/color.cxx4
-rw-r--r--oox/source/drawingml/colorchoicecontext.cxx4
-rw-r--r--oox/source/drawingml/connectorshapecontext.cxx4
-rw-r--r--oox/source/drawingml/customshapegeometry.cxx4
-rw-r--r--oox/source/drawingml/customshapepresetdata.cxx5
-rw-r--r--oox/source/drawingml/customshapeproperties.cxx4
-rw-r--r--oox/source/drawingml/diagram/constraintlistcontext.cxx4
-rw-r--r--oox/source/drawingml/diagram/datamodel.cxx4
-rw-r--r--oox/source/drawingml/diagram/datamodelcontext.cxx4
-rw-r--r--oox/source/drawingml/diagram/diagram.cxx4
-rw-r--r--oox/source/drawingml/diagram/diagramdefinitioncontext.cxx4
-rw-r--r--oox/source/drawingml/diagram/diagramfragmenthandler.cxx4
-rw-r--r--oox/source/drawingml/diagram/diagramlayoutatoms.cxx4
-rw-r--r--oox/source/drawingml/diagram/layoutatomvisitorbase.cxx4
-rw-r--r--oox/source/drawingml/diagram/layoutatomvisitors.cxx4
-rw-r--r--oox/source/drawingml/diagram/layoutnodecontext.cxx4
-rw-r--r--oox/source/drawingml/drawingmltypes.cxx4
-rw-r--r--oox/source/drawingml/effectproperties.cxx4
-rw-r--r--oox/source/drawingml/effectpropertiescontext.cxx4
-rw-r--r--oox/source/drawingml/embeddedwavaudiofile.cxx4
-rw-r--r--oox/source/drawingml/fillproperties.cxx4
-rw-r--r--oox/source/drawingml/graphicshapecontext.cxx4
-rw-r--r--oox/source/drawingml/guidcontext.cxx4
-rw-r--r--oox/source/drawingml/hyperlinkcontext.cxx4
-rw-r--r--oox/source/drawingml/lineproperties.cxx4
-rw-r--r--oox/source/drawingml/linepropertiescontext.cxx4
-rw-r--r--oox/source/drawingml/misccontexts.cxx4
-rw-r--r--oox/source/drawingml/objectdefaultcontext.cxx4
-rw-r--r--oox/source/drawingml/scene3dcontext.cxx4
-rw-r--r--oox/source/drawingml/shape.cxx4
-rw-r--r--oox/source/drawingml/shape3dproperties.cxx4
-rw-r--r--oox/source/drawingml/shapecontext.cxx4
-rw-r--r--oox/source/drawingml/shapegroupcontext.cxx4
-rw-r--r--oox/source/drawingml/shapepropertiescontext.cxx4
-rw-r--r--oox/source/drawingml/shapepropertymap.cxx4
-rw-r--r--oox/source/drawingml/shapestylecontext.cxx4
-rw-r--r--oox/source/drawingml/spdefcontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablebackgroundstylecontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablecell.cxx4
-rw-r--r--oox/source/drawingml/table/tablecellcontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablecontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablepartstylecontext.cxx4
-rw-r--r--oox/source/drawingml/table/tableproperties.cxx4
-rw-r--r--oox/source/drawingml/table/tablerow.cxx4
-rw-r--r--oox/source/drawingml/table/tablerowcontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablestyle.cxx4
-rw-r--r--oox/source/drawingml/table/tablestylecellstylecontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablestylecontext.cxx4
-rw-r--r--oox/source/drawingml/table/tablestylelist.cxx4
-rw-r--r--oox/source/drawingml/table/tablestylelistfragmenthandler.cxx6
-rw-r--r--oox/source/drawingml/table/tablestylepart.cxx4
-rw-r--r--oox/source/drawingml/table/tablestyletextstylecontext.cxx4
-rw-r--r--oox/source/drawingml/textbody.cxx4
-rw-r--r--oox/source/drawingml/textbodycontext.cxx4
-rw-r--r--oox/source/drawingml/textbodyproperties.cxx4
-rw-r--r--oox/source/drawingml/textbodypropertiescontext.cxx4
-rw-r--r--oox/source/drawingml/textcharacterproperties.cxx4
-rw-r--r--oox/source/drawingml/textcharacterpropertiescontext.cxx4
-rw-r--r--oox/source/drawingml/texteffectscontext.cxx4
-rw-r--r--oox/source/drawingml/textfield.cxx4
-rw-r--r--oox/source/drawingml/textfieldcontext.cxx4
-rw-r--r--oox/source/drawingml/textfont.cxx4
-rw-r--r--oox/source/drawingml/textliststyle.cxx4
-rw-r--r--oox/source/drawingml/textliststylecontext.cxx4
-rw-r--r--oox/source/drawingml/textparagraph.cxx4
-rw-r--r--oox/source/drawingml/textparagraphproperties.cxx4
-rw-r--r--oox/source/drawingml/textparagraphpropertiescontext.cxx4
-rw-r--r--oox/source/drawingml/textrun.cxx4
-rw-r--r--oox/source/drawingml/textspacingcontext.cxx4
-rw-r--r--oox/source/drawingml/texttabstoplistcontext.cxx4
-rw-r--r--oox/source/drawingml/theme.cxx4
-rw-r--r--oox/source/drawingml/themeelementscontext.cxx4
-rw-r--r--oox/source/drawingml/themefragmenthandler.cxx4
-rw-r--r--oox/source/drawingml/transform2dcontext.cxx4
104 files changed, 160 insertions, 313 deletions
diff --git a/oox/source/drawingml/ThemeOverrideFragmentHandler.cxx b/oox/source/drawingml/ThemeOverrideFragmentHandler.cxx
index 147f3861157e..730348ee33f1 100644
--- a/oox/source/drawingml/ThemeOverrideFragmentHandler.cxx
+++ b/oox/source/drawingml/ThemeOverrideFragmentHandler.cxx
@@ -15,8 +15,7 @@
using namespace ::oox::core;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
ThemeOverrideFragmentHandler::ThemeOverrideFragmentHandler( XmlFilterBase& rFilter, const OUString& rFragmentPath, Theme& rTheme ) :
FragmentHandler2( rFilter, rFragmentPath ),
@@ -44,7 +43,6 @@ ContextHandlerRef ThemeOverrideFragmentHandler::onCreateContext( sal_Int32 nElem
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/axiscontext.cxx b/oox/source/drawingml/chart/axiscontext.cxx
index 45f61a9a019c..11127b3f7c38 100644
--- a/oox/source/drawingml/chart/axiscontext.cxx
+++ b/oox/source/drawingml/chart/axiscontext.cxx
@@ -28,9 +28,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandlerRef;
using ::oox::core::ContextHandler2Helper;
@@ -295,8 +293,6 @@ ContextHandlerRef ValAxisContext::onCreateContext( sal_Int32 nElement, const Att
return AxisContextBase::onCreateContext( nElement, rAttribs );
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx
index 5f64586ffbb0..1b836d01124b 100644
--- a/oox/source/drawingml/chart/axisconverter.cxx
+++ b/oox/source/drawingml/chart/axisconverter.cxx
@@ -44,9 +44,7 @@
#include <comphelper/processfactory.hxx>
#include <osl/diagnose.h>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::chart2;
@@ -411,8 +409,6 @@ void AxisDispUnitsConverter::convertFromModel( const Reference< XAxis >& rxAxis
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/axismodel.cxx b/oox/source/drawingml/chart/axismodel.cxx
index 6659990cca21..1fd55d4afc23 100644
--- a/oox/source/drawingml/chart/axismodel.cxx
+++ b/oox/source/drawingml/chart/axismodel.cxx
@@ -19,9 +19,7 @@
#include <drawingml/chart/axismodel.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
AxisDispUnitsModel::AxisDispUnitsModel() :
mfCustomUnit( 0.0 )
@@ -59,8 +57,6 @@ AxisModel::~AxisModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/chartcontextbase.cxx b/oox/source/drawingml/chart/chartcontextbase.cxx
index 65ad2a100953..410a1ad9d39c 100644
--- a/oox/source/drawingml/chart/chartcontextbase.cxx
+++ b/oox/source/drawingml/chart/chartcontextbase.cxx
@@ -25,9 +25,7 @@
#include <oox/token/tokens.hxx>
#include <drawingml/shapepropertiescontext.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
@@ -104,8 +102,6 @@ ContextHandlerRef LayoutContext::onCreateContext( sal_Int32 nElement, const Attr
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/chartconverter.cxx b/oox/source/drawingml/chart/chartconverter.cxx
index 739092d72b02..fa78d0f22166 100644
--- a/oox/source/drawingml/chart/chartconverter.cxx
+++ b/oox/source/drawingml/chart/chartconverter.cxx
@@ -30,9 +30,7 @@
using ::oox::drawingml::chart::DataSequenceModel;
using ::com::sun::star::uno::Any;
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -154,8 +152,6 @@ Reference< XDataSequence > ChartConverter::createDataSequence(
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/chartdrawingfragment.cxx b/oox/source/drawingml/chart/chartdrawingfragment.cxx
index a1d162ae648a..63f7837b091f 100644
--- a/oox/source/drawingml/chart/chartdrawingfragment.cxx
+++ b/oox/source/drawingml/chart/chartdrawingfragment.cxx
@@ -32,9 +32,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star;
using namespace ::com::sun::star::drawing;
@@ -230,8 +228,6 @@ void ChartDrawingFragment::onEndElement()
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/chartspaceconverter.cxx b/oox/source/drawingml/chart/chartspaceconverter.cxx
index 997aa4d41fbe..d9376064f804 100644
--- a/oox/source/drawingml/chart/chartspaceconverter.cxx
+++ b/oox/source/drawingml/chart/chartspaceconverter.cxx
@@ -53,9 +53,7 @@ using ::com::sun::star::drawing::XShapes;
using ::com::sun::star::chart2::XDiagram;
using ::com::sun::star::chart2::XTitled;
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::chart2;
@@ -292,8 +290,6 @@ void ChartSpaceConverter::convertFromModel( const Reference< XShapes >& rxExtern
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/chartspacefragment.cxx b/oox/source/drawingml/chart/chartspacefragment.cxx
index cefda2ebd2ba..129dbd7cff9c 100644
--- a/oox/source/drawingml/chart/chartspacefragment.cxx
+++ b/oox/source/drawingml/chart/chartspacefragment.cxx
@@ -28,9 +28,7 @@
#include <oox/helper/attributelist.hxx>
#include <oox/token/namespaces.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::oox::core;
@@ -121,8 +119,6 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/chartspacemodel.cxx b/oox/source/drawingml/chart/chartspacemodel.cxx
index fa5e52f4c9db..afdaf41dd19d 100644
--- a/oox/source/drawingml/chart/chartspacemodel.cxx
+++ b/oox/source/drawingml/chart/chartspacemodel.cxx
@@ -20,9 +20,7 @@
#include <drawingml/chart/chartspacemodel.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
ChartSpaceModel::ChartSpaceModel(bool bMSO2007Doc) :
mnDispBlanksAs( bMSO2007Doc ? XML_gap : XML_zero ), // difference between OOXML spec and MSO 2007
@@ -38,8 +36,6 @@ ChartSpaceModel::~ChartSpaceModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx
index 0b6b876a11a0..069b75bbe83a 100644
--- a/oox/source/drawingml/chart/converterbase.cxx
+++ b/oox/source/drawingml/chart/converterbase.cxx
@@ -40,9 +40,7 @@
#include <comphelper/processfactory.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
namespace cssc = ::com::sun::star::chart;
@@ -437,8 +435,6 @@ void LayoutConverter::convertFromModel( const Reference< XShape >& rxShape, doub
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx
index 7fa7b12852a7..c79578b62411 100644
--- a/oox/source/drawingml/chart/datasourcecontext.cxx
+++ b/oox/source/drawingml/chart/datasourcecontext.cxx
@@ -29,9 +29,7 @@
#include <svl/zforlist.hxx>
#include <osl/diagnose.h>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
@@ -301,8 +299,6 @@ ContextHandlerRef DataSourceContext::onCreateContext( sal_Int32 nElement, const
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/datasourceconverter.cxx b/oox/source/drawingml/chart/datasourceconverter.cxx
index bcfbf1bf8406..0f72da69a9c5 100644
--- a/oox/source/drawingml/chart/datasourceconverter.cxx
+++ b/oox/source/drawingml/chart/datasourceconverter.cxx
@@ -24,9 +24,7 @@
#include <oox/drawingml/chart/datasourcemodel.hxx>
#include <oox/token/properties.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star::chart2::data;
using namespace ::com::sun::star::uno;
@@ -99,8 +97,6 @@ Reference< XDataSequence > DataSourceConverter::createDataSequence( const OUStri
return xDataSeq;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/datasourcemodel.cxx b/oox/source/drawingml/chart/datasourcemodel.cxx
index ecb9afe4f2cb..92409d432df5 100644
--- a/oox/source/drawingml/chart/datasourcemodel.cxx
+++ b/oox/source/drawingml/chart/datasourcemodel.cxx
@@ -19,9 +19,7 @@
#include <oox/drawingml/chart/datasourcemodel.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
DataSequenceModel::DataSequenceModel() :
mnPointCount( -1 ),
@@ -41,8 +39,6 @@ DataSourceModel::~DataSourceModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/modelbase.cxx b/oox/source/drawingml/chart/modelbase.cxx
index fd5225ebb9ce..0e959403929a 100644
--- a/oox/source/drawingml/chart/modelbase.cxx
+++ b/oox/source/drawingml/chart/modelbase.cxx
@@ -22,9 +22,7 @@
#include <oox/helper/attributelist.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
NumberFormat::NumberFormat() :
mbSourceLinked( true )
@@ -55,8 +53,6 @@ LayoutModel::~LayoutModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx
index b071126be53d..db1045c5cc33 100644
--- a/oox/source/drawingml/chart/objectformatter.cxx
+++ b/oox/source/drawingml/chart/objectformatter.cxx
@@ -37,9 +37,7 @@
#include <oox/helper/graphichelper.hxx>
#include <oox/token/properties.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star::chart2;
using namespace ::com::sun::star::graphic;
@@ -1155,8 +1153,6 @@ bool ObjectFormatter::getTextRotation( const ModelRef< TextBody >& rxTextProp, s
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/plotareacontext.cxx b/oox/source/drawingml/chart/plotareacontext.cxx
index c02b640a162c..bbda258abfe3 100644
--- a/oox/source/drawingml/chart/plotareacontext.cxx
+++ b/oox/source/drawingml/chart/plotareacontext.cxx
@@ -30,9 +30,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
@@ -203,8 +201,6 @@ ContextHandlerRef PlotAreaContext::onCreateContext( sal_Int32 nElement, const At
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/plotareaconverter.cxx b/oox/source/drawingml/chart/plotareaconverter.cxx
index af3139618824..1862dea1c8cb 100644
--- a/oox/source/drawingml/chart/plotareaconverter.cxx
+++ b/oox/source/drawingml/chart/plotareaconverter.cxx
@@ -37,9 +37,7 @@
#include <oox/token/tokens.hxx>
#include <tools/helpers.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -478,8 +476,6 @@ void PlotAreaConverter::convertPositionFromModel()
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/plotareamodel.cxx b/oox/source/drawingml/chart/plotareamodel.cxx
index d9d91cb1cbf1..cff935bca3d0 100644
--- a/oox/source/drawingml/chart/plotareamodel.cxx
+++ b/oox/source/drawingml/chart/plotareamodel.cxx
@@ -19,9 +19,7 @@
#include <drawingml/chart/plotareamodel.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
View3DModel::View3DModel(bool bMSO2007Doc) :
mnDepthPercent( 100 ),
@@ -61,8 +59,6 @@ PlotAreaModel::~PlotAreaModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/seriescontext.cxx b/oox/source/drawingml/chart/seriescontext.cxx
index 10e3af70108f..912b7252e02b 100644
--- a/oox/source/drawingml/chart/seriescontext.cxx
+++ b/oox/source/drawingml/chart/seriescontext.cxx
@@ -29,9 +29,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandler2;
using ::oox::core::ContextHandler2Helper;
@@ -705,8 +703,6 @@ ContextHandlerRef SurfaceSeriesContext::onCreateContext( sal_Int32 nElement, con
return SeriesContextBase::onCreateContext( nElement, rAttribs );
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx
index 10edab47fd11..1ac4ec9226fa 100644
--- a/oox/source/drawingml/chart/seriesconverter.cxx
+++ b/oox/source/drawingml/chart/seriesconverter.cxx
@@ -51,9 +51,7 @@
#include <drawingml/textfield.hxx>
#include <drawingml/textbody.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace com::sun::star;
using namespace ::com::sun::star::beans;
@@ -828,8 +826,6 @@ Reference< XLabeledDataSequence > SeriesConverter::createLabeledDataSequence(
return lclCreateLabeledDataSequence( *this, pValues, rRole, pTitle );
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/seriesmodel.cxx b/oox/source/drawingml/chart/seriesmodel.cxx
index f40ef585a9c4..3a9f3f64c412 100644
--- a/oox/source/drawingml/chart/seriesmodel.cxx
+++ b/oox/source/drawingml/chart/seriesmodel.cxx
@@ -20,9 +20,7 @@
#include <drawingml/chart/seriesmodel.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
DataLabelModelBase::DataLabelModelBase(bool bMSO2007Doc) :
mbDeleted( !bMSO2007Doc )
@@ -126,8 +124,6 @@ SeriesModel::~SeriesModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/titlecontext.cxx b/oox/source/drawingml/chart/titlecontext.cxx
index 2dbbaac69746..36bf48c8d375 100644
--- a/oox/source/drawingml/chart/titlecontext.cxx
+++ b/oox/source/drawingml/chart/titlecontext.cxx
@@ -32,9 +32,7 @@
#include <osl/diagnose.h>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
@@ -177,8 +175,6 @@ ContextHandlerRef LegendContext::onCreateContext( sal_Int32 nElement, const Attr
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/titleconverter.cxx b/oox/source/drawingml/chart/titleconverter.cxx
index fa79d0d9457a..115589105584 100644
--- a/oox/source/drawingml/chart/titleconverter.cxx
+++ b/oox/source/drawingml/chart/titleconverter.cxx
@@ -41,9 +41,7 @@
#include <com/sun/star/drawing/Alignment.hpp>
#include <oox/drawingml/chart/modelbase.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::chart2;
@@ -344,8 +342,6 @@ void LegendConverter::legendEntriesFormatting(const Reference<XDiagram>& rxDiagr
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/titlemodel.cxx b/oox/source/drawingml/chart/titlemodel.cxx
index 846ec218b5bf..73709db0ac37 100644
--- a/oox/source/drawingml/chart/titlemodel.cxx
+++ b/oox/source/drawingml/chart/titlemodel.cxx
@@ -20,9 +20,7 @@
#include <drawingml/chart/titlemodel.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
TextModel::TextModel()
{
@@ -62,8 +60,6 @@ LegendModel::~LegendModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/typegroupcontext.cxx b/oox/source/drawingml/chart/typegroupcontext.cxx
index 0814dedf93b4..9bea7540e234 100644
--- a/oox/source/drawingml/chart/typegroupcontext.cxx
+++ b/oox/source/drawingml/chart/typegroupcontext.cxx
@@ -27,9 +27,7 @@
#include <oox/token/properties.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
@@ -369,8 +367,6 @@ ContextHandlerRef SurfaceTypeGroupContext::onCreateContext( sal_Int32 nElement,
return nullptr;
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx
index 671aa2bd4cb4..37a5390a189f 100644
--- a/oox/source/drawingml/chart/typegroupconverter.cxx
+++ b/oox/source/drawingml/chart/typegroupconverter.cxx
@@ -43,9 +43,7 @@
#include <oox/token/properties.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::chart2;
@@ -601,8 +599,6 @@ void TypeGroupConverter::insertDataSeries( const Reference< XChartType >& rxChar
}
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/chart/typegroupmodel.cxx b/oox/source/drawingml/chart/typegroupmodel.cxx
index aae01ed0f58e..2fdd3c488680 100644
--- a/oox/source/drawingml/chart/typegroupmodel.cxx
+++ b/oox/source/drawingml/chart/typegroupmodel.cxx
@@ -20,9 +20,7 @@
#include <drawingml/chart/typegroupmodel.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
-namespace chart {
+namespace oox::drawingml::chart {
UpDownBarsModel::UpDownBarsModel() :
mnGapWidth( 150 )
@@ -65,8 +63,6 @@ TypeGroupModel::~TypeGroupModel()
{
}
-} // namespace chart
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/clrscheme.cxx b/oox/source/drawingml/clrscheme.cxx
index e1d184f9f413..202b30a619b2 100644
--- a/oox/source/drawingml/clrscheme.cxx
+++ b/oox/source/drawingml/clrscheme.cxx
@@ -23,7 +23,7 @@
#include <oox/drawingml/clrscheme.hxx>
#include <oox/token/tokens.hxx>
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
bool ClrMap::getColorMap( sal_Int32& nClrToken )
{
@@ -102,6 +102,6 @@ bool ClrScheme::getColorByIndex(size_t nIndex, ::Color& rColor) const
return true;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/clrschemecontext.cxx b/oox/source/drawingml/clrschemecontext.cxx
index 398775ee4f7d..e8850974c683 100644
--- a/oox/source/drawingml/clrschemecontext.cxx
+++ b/oox/source/drawingml/clrschemecontext.cxx
@@ -27,7 +27,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
static void setClrMap( const ::oox::AttributeList& rAttributes,
ClrMap& rClrMap, sal_Int32 nToken )
@@ -97,6 +97,6 @@ ContextHandlerRef clrSchemeContext::onCreateContext(
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/color.cxx b/oox/source/drawingml/color.cxx
index 09b033352877..5410d5fc7498 100644
--- a/oox/source/drawingml/color.cxx
+++ b/oox/source/drawingml/color.cxx
@@ -28,8 +28,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -769,7 +768,6 @@ void Color::toHsl() const
}
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/colorchoicecontext.cxx b/oox/source/drawingml/colorchoicecontext.cxx
index cf6c17ecd3b4..6d08c7b18963 100644
--- a/oox/source/drawingml/colorchoicecontext.cxx
+++ b/oox/source/drawingml/colorchoicecontext.cxx
@@ -24,8 +24,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
ColorValueContext::ColorValueContext( ContextHandler2Helper const & rParent, Color& rColor ) :
ContextHandler2( rParent ),
@@ -149,7 +148,6 @@ ColorContext::ColorContext( ContextHandler2Helper const & rParent, Color& rColor
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/connectorshapecontext.cxx b/oox/source/drawingml/connectorshapecontext.cxx
index e9c6d31938e4..7e5a4b516c9d 100644
--- a/oox/source/drawingml/connectorshapecontext.cxx
+++ b/oox/source/drawingml/connectorshapecontext.cxx
@@ -39,7 +39,7 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
ConnectorShapeContext::ConnectorShapeContext( ContextHandler2Helper const & rParent,
const ShapePtr& pMasterShapePtr, const ShapePtr& pGroupShapePtr )
@@ -65,6 +65,6 @@ ContextHandlerRef ConnectorShapeContext::onCreateContext( sal_Int32 aElementToke
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/customshapegeometry.cxx b/oox/source/drawingml/customshapegeometry.cxx
index 6b436c05cdb8..a0112ebc3da8 100644
--- a/oox/source/drawingml/customshapegeometry.cxx
+++ b/oox/source/drawingml/customshapegeometry.cxx
@@ -37,7 +37,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -1291,6 +1291,6 @@ ContextHandlerRef PresetTextShapeContext::onCreateContext( sal_Int32 aElementTok
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx
index 043b25cd633b..b4d6a2ecb1c2 100644
--- a/oox/source/drawingml/customshapepresetdata.cxx
+++ b/oox/source/drawingml/customshapepresetdata.cxx
@@ -704,9 +704,7 @@ void lcl_parsePath(std::vector<beans::PropertyValue>& rPath, const OString& rVal
}
-namespace oox
-{
-namespace drawingml
+namespace oox::drawingml
{
void CustomShapeProperties::initializePresetDataMap()
@@ -837,6 +835,5 @@ void CustomShapeProperties::initializePresetDataMap()
}
}
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx
index f9e19314414e..3b530bddfed6 100644
--- a/oox/source/drawingml/customshapeproperties.cxx
+++ b/oox/source/drawingml/customshapeproperties.cxx
@@ -38,7 +38,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::drawing;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
CustomShapeProperties::CustomShapeProperties()
: mnShapePresetType ( -1 )
@@ -397,6 +397,6 @@ void CustomShapeProperties::pushToPropSet(
}
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/constraintlistcontext.cxx b/oox/source/drawingml/diagram/constraintlistcontext.cxx
index 42cefee41d28..cc1f13026342 100644
--- a/oox/source/drawingml/diagram/constraintlistcontext.cxx
+++ b/oox/source/drawingml/diagram/constraintlistcontext.cxx
@@ -26,7 +26,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_ConstraintLists
ConstraintListContext::ConstraintListContext( ContextHandler2Helper const & rParent,
@@ -73,6 +73,6 @@ ConstraintListContext::onCreateContext( ::sal_Int32 aElement,
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/datamodel.cxx b/oox/source/drawingml/diagram/datamodel.cxx
index afffab1685af..b29d13d6668c 100644
--- a/oox/source/drawingml/diagram/datamodel.cxx
+++ b/oox/source/drawingml/diagram/datamodel.cxx
@@ -35,7 +35,7 @@
using namespace ::com::sun::star;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
namespace dgm {
@@ -473,6 +473,6 @@ void DiagramData::build()
#endif
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/datamodelcontext.cxx b/oox/source/drawingml/diagram/datamodelcontext.cxx
index 3746addb8550..1879408b9105 100644
--- a/oox/source/drawingml/diagram/datamodelcontext.cxx
+++ b/oox/source/drawingml/diagram/datamodelcontext.cxx
@@ -29,7 +29,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::uno;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -370,6 +370,6 @@ DataModelContext::onCreateContext( ::sal_Int32 aElement,
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/diagram.cxx b/oox/source/drawingml/diagram/diagram.cxx
index d4e8f18f8bc0..abe580e3c735 100644
--- a/oox/source/drawingml/diagram/diagram.cxx
+++ b/oox/source/drawingml/diagram/diagram.cxx
@@ -40,7 +40,7 @@
using namespace ::com::sun::star;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
static void sortChildrenByZOrder(const ShapePtr& pShape)
{
@@ -425,6 +425,6 @@ void reloadDiagram(SdrObject* pObj, core::XmlFilterBase& rFilter)
child->addShape(rFilter, rFilter.getCurrentTheme(), xShapes, aTransformation, pShape->getFillProperties());
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/diagramdefinitioncontext.cxx b/oox/source/drawingml/diagram/diagramdefinitioncontext.cxx
index 731cec9a4702..62e88806e8e8 100644
--- a/oox/source/drawingml/diagram/diagramdefinitioncontext.cxx
+++ b/oox/source/drawingml/diagram/diagramdefinitioncontext.cxx
@@ -28,7 +28,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_DiagramDefinition
DiagramDefinitionContext::DiagramDefinitionContext( ContextHandler2Helper const & rParent,
@@ -94,6 +94,6 @@ DiagramDefinitionContext::onCreateContext( ::sal_Int32 aElement,
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
index 6e1000af3627..9a7a8f3de760 100644
--- a/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
+++ b/oox/source/drawingml/diagram/diagramfragmenthandler.cxx
@@ -29,7 +29,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::uno;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
DiagramDataFragmentHandler::DiagramDataFragmentHandler( XmlFilterBase& rFilter,
const OUString& rFragmentPath,
@@ -234,6 +234,6 @@ void ColorFragmentHandler::onEndElement( )
mrColorsMap[maColorName] = maColorEntry;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
index 14af84da6ac4..5bdccda0d0c7 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
@@ -106,7 +106,7 @@ bool containsDataNodeType(const oox::drawingml::ShapePtr& pShape, sal_Int32 nTyp
}
}
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
IteratorAttr::IteratorAttr( )
: mnCnt( -1 )
@@ -1441,6 +1441,6 @@ void ShapeAtom::accept( LayoutAtomVisitor& rVisitor )
rVisitor.visit(*this);
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/layoutatomvisitorbase.cxx b/oox/source/drawingml/diagram/layoutatomvisitorbase.cxx
index 98206433653a..22ba236033fa 100644
--- a/oox/source/drawingml/diagram/layoutatomvisitorbase.cxx
+++ b/oox/source/drawingml/diagram/layoutatomvisitorbase.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
void LayoutAtomVisitorBase::defaultVisit(LayoutAtom const& rAtom)
{
@@ -166,6 +166,6 @@ void ShallowPresNameVisitor::visit(ShapeAtom& /*rAtom*/)
// stop processing
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/layoutatomvisitors.cxx b/oox/source/drawingml/diagram/layoutatomvisitors.cxx
index 4bfadc3affe8..5207a6d9b532 100644
--- a/oox/source/drawingml/diagram/layoutatomvisitors.cxx
+++ b/oox/source/drawingml/diagram/layoutatomvisitors.cxx
@@ -28,7 +28,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::oox::core;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
void ShapeCreationVisitor::visit(ConstraintAtom& /*rAtom*/)
{
@@ -243,6 +243,6 @@ void ShapeLayoutingVisitor::visit(ShapeAtom& /*rAtom*/)
// stop processing
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/diagram/layoutnodecontext.cxx b/oox/source/drawingml/diagram/layoutnodecontext.cxx
index 35128debddb9..28e492130ab5 100644
--- a/oox/source/drawingml/diagram/layoutnodecontext.cxx
+++ b/oox/source/drawingml/diagram/layoutnodecontext.cxx
@@ -32,7 +32,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -288,6 +288,6 @@ LayoutNodeContext::onCreateContext( ::sal_Int32 aElement,
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/drawingmltypes.cxx b/oox/source/drawingml/drawingmltypes.cxx
index f341ff3f9587..be9c3832fa64 100644
--- a/oox/source/drawingml/drawingmltypes.cxx
+++ b/oox/source/drawingml/drawingmltypes.cxx
@@ -35,8 +35,7 @@ using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::geometry;
using namespace ::com::sun::star::style;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
/** converts EMUs into 1/100th mmm */
sal_Int32 GetCoordinate( sal_Int32 nValue )
@@ -398,7 +397,6 @@ IndexRange GetIndexRange( const Reference< XFastAttributeList >& xAttributes )
return range;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/effectproperties.cxx b/oox/source/drawingml/effectproperties.cxx
index bbfee474b3f2..ff50919646c6 100644
--- a/oox/source/drawingml/effectproperties.cxx
+++ b/oox/source/drawingml/effectproperties.cxx
@@ -16,8 +16,7 @@
#include <basegfx/numeric/ftools.hxx>
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
void EffectShadowProperties::assignUsed(const EffectShadowProperties& rSourceProps)
{
@@ -92,7 +91,6 @@ css::beans::PropertyValue Effect::getEffect()
return aRet;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/effectpropertiescontext.cxx b/oox/source/drawingml/effectpropertiescontext.cxx
index 4c779e75f1ef..7941920ed370 100644
--- a/oox/source/drawingml/effectpropertiescontext.cxx
+++ b/oox/source/drawingml/effectpropertiescontext.cxx
@@ -21,7 +21,7 @@ using namespace ::com::sun::star::xml::sax;
// CT_EffectProperties
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
EffectPropertiesContext::EffectPropertiesContext( ContextHandler2Helper const& rParent,
EffectProperties& rEffectProperties ) throw()
@@ -119,6 +119,6 @@ ContextHandlerRef EffectPropertiesContext::onCreateContext( sal_Int32 nElement,
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/embeddedwavaudiofile.cxx b/oox/source/drawingml/embeddedwavaudiofile.cxx
index 193e0c1822cd..a46c3b5d757e 100644
--- a/oox/source/drawingml/embeddedwavaudiofile.cxx
+++ b/oox/source/drawingml/embeddedwavaudiofile.cxx
@@ -22,7 +22,7 @@
#include <oox/token/namespaces.hxx>
#include <oox/token/tokens.hxx>
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_EmbeddedWAVAudioFile
OUString getEmbeddedWAVAudioFile( const core::Relations& rRelations, const AttributeList& rAttribs )
@@ -33,6 +33,6 @@ OUString getEmbeddedWAVAudioFile( const core::Relations& rRelations, const Attri
return rRelations.getFragmentPathFromRelId( rAttribs.getString( R_TOKEN(embed) ).get() );
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index c64b0862d225..3574d9054cc1 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -55,8 +55,7 @@ using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::geometry::IntegerRectangle2D;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -1031,7 +1030,6 @@ sal_Int32 ArtisticEffectProperties::getEffectToken( const OUString& sName )
return XML_none;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/graphicshapecontext.cxx b/oox/source/drawingml/graphicshapecontext.cxx
index 527c43f9be3d..f85202afcaa8 100644
--- a/oox/source/drawingml/graphicshapecontext.cxx
+++ b/oox/source/drawingml/graphicshapecontext.cxx
@@ -67,8 +67,7 @@ static OUString lcl_GetMediaReference(const OUString& rStream)
return rStream.isEmpty() ? OUString() : "vnd.sun.star.Package:" + rStream;
}
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
// CT_Picture
@@ -312,7 +311,6 @@ ContextHandlerRef ChartGraphicDataContext::onCreateContext( ::sal_Int32 nElement
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/guidcontext.cxx b/oox/source/drawingml/guidcontext.cxx
index 97e3979a94e5..022359562e2e 100644
--- a/oox/source/drawingml/guidcontext.cxx
+++ b/oox/source/drawingml/guidcontext.cxx
@@ -23,7 +23,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
GuidContext::GuidContext( ContextHandler2Helper const & rParent, OUString& rGuidId )
: ContextHandler2( rParent )
@@ -35,6 +35,6 @@ void GuidContext::onCharacters( const OUString& aChars )
mrGuidId += aChars;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/hyperlinkcontext.cxx b/oox/source/drawingml/hyperlinkcontext.cxx
index 35b29b29f20d..9e5631eb7b38 100644
--- a/oox/source/drawingml/hyperlinkcontext.cxx
+++ b/oox/source/drawingml/hyperlinkcontext.cxx
@@ -33,8 +33,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
HyperLinkContext::HyperLinkContext( ContextHandler2Helper const & rParent,
const AttributeList& rAttribs, PropertyMap& aProperties )
@@ -164,7 +163,6 @@ ContextHandlerRef HyperLinkContext::onCreateContext(
return this;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/lineproperties.cxx b/oox/source/drawingml/lineproperties.cxx
index adaafcf91f0c..90f79f760cae 100644
--- a/oox/source/drawingml/lineproperties.cxx
+++ b/oox/source/drawingml/lineproperties.cxx
@@ -40,8 +40,7 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::drawing;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -519,7 +518,6 @@ sal_Int32 LineProperties::getLineWidth() const
return convertEmuToHmm( moLineWidth.get( 0 ) );
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/linepropertiescontext.cxx b/oox/source/drawingml/linepropertiescontext.cxx
index 3dd7d50b8b1d..6b04bcd42210 100644
--- a/oox/source/drawingml/linepropertiescontext.cxx
+++ b/oox/source/drawingml/linepropertiescontext.cxx
@@ -31,7 +31,7 @@ using namespace ::com::sun::star::xml::sax;
// CT_LineProperties
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
LinePropertiesContext::LinePropertiesContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs,
LineProperties& rLineProperties ) throw()
@@ -134,6 +134,6 @@ ContextHandlerRef LinePropertiesContext::onCreateContext( sal_Int32 nElement, co
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/misccontexts.cxx b/oox/source/drawingml/misccontexts.cxx
index 5a977fd4ee75..b54cda58a329 100644
--- a/oox/source/drawingml/misccontexts.cxx
+++ b/oox/source/drawingml/misccontexts.cxx
@@ -35,8 +35,7 @@ using namespace ::com::sun::star::xml::sax;
using ::oox::core::ContextHandler2;
using ::oox::core::ContextHandlerRef;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
SolidFillContext::SolidFillContext( ContextHandler2Helper const & rParent,
FillProperties& rFillProps ) :
@@ -379,7 +378,6 @@ ContextHandlerRef ArtisticEffectContext::onCreateContext(
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/objectdefaultcontext.cxx b/oox/source/drawingml/objectdefaultcontext.cxx
index 1c9c1b58c820..8466b353accc 100644
--- a/oox/source/drawingml/objectdefaultcontext.cxx
+++ b/oox/source/drawingml/objectdefaultcontext.cxx
@@ -27,7 +27,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
objectDefaultContext::objectDefaultContext( ContextHandler2Helper const & rParent, Theme& rTheme )
: ContextHandler2( rParent )
@@ -49,6 +49,6 @@ ContextHandlerRef objectDefaultContext::onCreateContext( sal_Int32 aElementToken
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/scene3dcontext.cxx b/oox/source/drawingml/scene3dcontext.cxx
index f6e0ee38d5fc..3e99c8adc504 100644
--- a/oox/source/drawingml/scene3dcontext.cxx
+++ b/oox/source/drawingml/scene3dcontext.cxx
@@ -33,7 +33,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
Scene3DPropertiesContext::Scene3DPropertiesContext( ContextHandler2Helper const & rParent, Shape3DProperties& r3DProperties ) throw()
: ContextHandler2( rParent )
@@ -132,6 +132,6 @@ ContextHandlerRef Scene3DRotationPropertiesContext::onCreateContext( sal_Int32 a
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index a99b403829fe..c679a869e4c8 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -113,7 +113,7 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::style;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
Shape::Shape( const char* pServiceName, bool bDefaultHeight )
: mpLinePropertiesPtr( new LineProperties )
@@ -1916,6 +1916,6 @@ void Shape::cloneFillProperties()
pFillProperties->assignUsed(*mpFillPropertiesPtr);
mpFillPropertiesPtr = pFillProperties;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shape3dproperties.cxx b/oox/source/drawingml/shape3dproperties.cxx
index ac94f882d539..8045b27660a4 100644
--- a/oox/source/drawingml/shape3dproperties.cxx
+++ b/oox/source/drawingml/shape3dproperties.cxx
@@ -38,8 +38,7 @@ using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::graphic;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
OUString Shape3DProperties::getCameraPrstName( sal_Int32 nElement )
{
@@ -400,7 +399,6 @@ css::uno::Sequence< css::beans::PropertyValue > Shape3DProperties::getShape3DAtt
return aSeq;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shapecontext.cxx b/oox/source/drawingml/shapecontext.cxx
index 60feae99f656..d32e448c6227 100644
--- a/oox/source/drawingml/shapecontext.cxx
+++ b/oox/source/drawingml/shapecontext.cxx
@@ -46,7 +46,7 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_Shape
ShapeContext::ShapeContext( ContextHandler2Helper const & rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pShapePtr )
@@ -134,6 +134,6 @@ ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 aElementToken, const
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shapegroupcontext.cxx b/oox/source/drawingml/shapegroupcontext.cxx
index 6d7756e86d5b..c7f84cf7ef1c 100644
--- a/oox/source/drawingml/shapegroupcontext.cxx
+++ b/oox/source/drawingml/shapegroupcontext.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
ShapeGroupContext::ShapeGroupContext( FragmentHandler2 const & rParent, ShapePtr const & pMasterShapePtr, ShapePtr const & pGroupShapePtr )
: FragmentHandler2( rParent )
@@ -116,6 +116,6 @@ ContextHandlerRef ShapeGroupContext::onCreateContext( sal_Int32 aElementToken, c
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shapepropertiescontext.cxx b/oox/source/drawingml/shapepropertiescontext.cxx
index ffedcfa5bf13..0b6956ef87c3 100644
--- a/oox/source/drawingml/shapepropertiescontext.cxx
+++ b/oox/source/drawingml/shapepropertiescontext.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_ShapeProperties
ShapePropertiesContext::ShapePropertiesContext( ContextHandler2Helper const & rParent, Shape& rShape )
@@ -107,6 +107,6 @@ ContextHandlerRef ShapePropertiesContext::onCreateContext( sal_Int32 aElementTok
return FillPropertiesContext::createFillContext( *this, aElementToken, rAttribs, mrShape.getFillProperties() );
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shapepropertymap.cxx b/oox/source/drawingml/shapepropertymap.cxx
index c6168be243ab..3cecae3f9e9b 100644
--- a/oox/source/drawingml/shapepropertymap.cxx
+++ b/oox/source/drawingml/shapepropertymap.cxx
@@ -29,8 +29,7 @@
#include <oox/helper/modelobjecthelper.hxx>
#include <oox/token/properties.hxx>
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
using namespace ::com::sun::star;
using namespace ::com::sun::star::beans;
@@ -231,7 +230,6 @@ bool ShapePropertyMap::setFillBitmapName(const Any& rValue)
return false;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/shapestylecontext.cxx b/oox/source/drawingml/shapestylecontext.cxx
index 796849efd04b..f0bc061a58a3 100644
--- a/oox/source/drawingml/shapestylecontext.cxx
+++ b/oox/source/drawingml/shapestylecontext.cxx
@@ -28,7 +28,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_ShapeStyle
@@ -65,6 +65,6 @@ ContextHandlerRef ShapeStyleContext::onCreateContext( sal_Int32 aElementToken, c
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/spdefcontext.cxx b/oox/source/drawingml/spdefcontext.cxx
index 27f99e996fb1..660ba623a655 100644
--- a/oox/source/drawingml/spdefcontext.cxx
+++ b/oox/source/drawingml/spdefcontext.cxx
@@ -29,7 +29,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
spDefContext::spDefContext( ContextHandler2Helper const & rParent, Shape& rDefaultObject )
: ContextHandler2( rParent )
@@ -58,6 +58,6 @@ ContextHandlerRef spDefContext::onCreateContext( sal_Int32 aElementToken, const
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablebackgroundstylecontext.cxx b/oox/source/drawingml/table/tablebackgroundstylecontext.cxx
index bbe57ffe178a..fc56ae48f205 100644
--- a/oox/source/drawingml/table/tablebackgroundstylecontext.cxx
+++ b/oox/source/drawingml/table/tablebackgroundstylecontext.cxx
@@ -29,7 +29,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableBackgroundStyleContext::TableBackgroundStyleContext( ContextHandler2Helper const & rParent, TableStyle& rTableStyle )
: ContextHandler2( rParent )
@@ -69,6 +69,6 @@ TableBackgroundStyleContext::onCreateContext( ::sal_Int32 aElementToken, const A
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index e270d5155d20..f8abf8b6a4b5 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -47,7 +47,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using ::com::sun::star::table::BorderLine2;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableCell::TableCell()
: mpTextBody( new TextBody() )
@@ -475,6 +475,6 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, cons
xPropSet->setPropertyValue("RotateAngle", Any(short(9000)));
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablecellcontext.cxx b/oox/source/drawingml/table/tablecellcontext.cxx
index 4d037447293e..6a029150e50e 100644
--- a/oox/source/drawingml/table/tablecellcontext.cxx
+++ b/oox/source/drawingml/table/tablecellcontext.cxx
@@ -29,7 +29,7 @@
using namespace ::oox::core;
using namespace ::com::sun::star;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableCellContext::TableCellContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, TableCell& rTableCell )
: ContextHandler2( rParent )
@@ -98,6 +98,6 @@ TableCellContext::onCreateContext( ::sal_Int32 aElementToken, const AttributeLis
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablecontext.cxx b/oox/source/drawingml/table/tablecontext.cxx
index 90191f615d4d..a753a3401e49 100644
--- a/oox/source/drawingml/table/tablecontext.cxx
+++ b/oox/source/drawingml/table/tablecontext.cxx
@@ -29,7 +29,7 @@
using namespace ::oox::core;
using namespace ::com::sun::star;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableContext::TableContext( ContextHandler2Helper const & rParent, const ShapePtr& pShapePtr )
: ShapeContext( rParent, ShapePtr(), pShapePtr )
@@ -87,6 +87,6 @@ TableContext::onCreateContext( ::sal_Int32 aElementToken, const AttributeList& r
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablepartstylecontext.cxx b/oox/source/drawingml/table/tablepartstylecontext.cxx
index 95f90bf73b71..4438c9a43e1f 100644
--- a/oox/source/drawingml/table/tablepartstylecontext.cxx
+++ b/oox/source/drawingml/table/tablepartstylecontext.cxx
@@ -29,7 +29,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TablePartStyleContext::TablePartStyleContext( ContextHandler2Helper const & rParent, TableStylePart& rTableStylePart )
: ContextHandler2( rParent )
@@ -56,6 +56,6 @@ TablePartStyleContext::onCreateContext( ::sal_Int32 aElementToken, const Attribu
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tableproperties.cxx b/oox/source/drawingml/table/tableproperties.cxx
index f867ee144003..d5fa302f7c3d 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -40,7 +40,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::table;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableProperties::TableProperties()
: mbFirstRow( false )
@@ -259,6 +259,6 @@ void TableProperties::pullFromTextBody(oox::drawingml::TextBodyPtr pTextBody, sa
}
}
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablerow.cxx b/oox/source/drawingml/table/tablerow.cxx
index b87a72033d9e..51ad03c8f614 100644
--- a/oox/source/drawingml/table/tablerow.cxx
+++ b/oox/source/drawingml/table/tablerow.cxx
@@ -31,13 +31,13 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableRow::TableRow()
: mnHeight( 0 )
{
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablerowcontext.cxx b/oox/source/drawingml/table/tablerowcontext.cxx
index fd27924cf1fb..aafd13b00e20 100644
--- a/oox/source/drawingml/table/tablerowcontext.cxx
+++ b/oox/source/drawingml/table/tablerowcontext.cxx
@@ -28,7 +28,7 @@
using namespace ::oox::core;
using namespace ::com::sun::star;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableRowContext::TableRowContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, TableRow& rTableRow )
: ContextHandler2( rParent )
@@ -60,6 +60,6 @@ TableRowContext::onCreateContext( ::sal_Int32 aElementToken, const AttributeList
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestyle.cxx b/oox/source/drawingml/table/tablestyle.cxx
index 04d1173f7fe1..15ae746eaede 100644
--- a/oox/source/drawingml/table/tablestyle.cxx
+++ b/oox/source/drawingml/table/tablestyle.cxx
@@ -19,12 +19,12 @@
#include <drawingml/table/tablestyle.hxx>
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableStyle::TableStyle()
{
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestylecellstylecontext.cxx b/oox/source/drawingml/table/tablestylecellstylecontext.cxx
index 788f8eb6113b..9093e99c75c9 100644
--- a/oox/source/drawingml/table/tablestylecellstylecontext.cxx
+++ b/oox/source/drawingml/table/tablestylecellstylecontext.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableStyleCellStyleContext::TableStyleCellStyleContext( ContextHandler2Helper const & rParent, TableStylePart& rTableStylePart )
: ContextHandler2( rParent )
@@ -104,6 +104,6 @@ TableStyleCellStyleContext::onCreateContext( ::sal_Int32 aElementToken, const At
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestylecontext.cxx b/oox/source/drawingml/table/tablestylecontext.cxx
index e87c2d4fbed6..7dc4ce468cf1 100644
--- a/oox/source/drawingml/table/tablestylecontext.cxx
+++ b/oox/source/drawingml/table/tablestylecontext.cxx
@@ -30,7 +30,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableStyleContext::TableStyleContext( ContextHandler2Helper const & rParent,
const AttributeList& rAttribs, TableStyle& rTableStyle )
@@ -84,6 +84,6 @@ TableStyleContext::onCreateContext( ::sal_Int32 aElementToken, const AttributeLi
return this;
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestylelist.cxx b/oox/source/drawingml/table/tablestylelist.cxx
index f218c61e4182..b04ed5188da9 100644
--- a/oox/source/drawingml/table/tablestylelist.cxx
+++ b/oox/source/drawingml/table/tablestylelist.cxx
@@ -20,7 +20,7 @@
#include <drawingml/table/tablestylelist.hxx>
#include <drawingml/table/tablestyle.hxx>
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableStyleList::TableStyleList()
{
@@ -30,6 +30,6 @@ TableStyleList::~TableStyleList()
{
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestylelistfragmenthandler.cxx b/oox/source/drawingml/table/tablestylelistfragmenthandler.cxx
index 4774f2f3fa70..309077f09689 100644
--- a/oox/source/drawingml/table/tablestylelistfragmenthandler.cxx
+++ b/oox/source/drawingml/table/tablestylelistfragmenthandler.cxx
@@ -29,9 +29,7 @@ using namespace ::oox::drawingml;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox {
-namespace drawingml {
-namespace table {
+namespace oox::drawingml::table {
TableStyleListFragmentHandler::TableStyleListFragmentHandler( XmlFilterBase& rFilter, const OUString& rFragmentPath, TableStyleList& rTableStyleList ):
FragmentHandler2( rFilter, rFragmentPath ),
@@ -60,8 +58,6 @@ ContextHandlerRef TableStyleListFragmentHandler::onCreateContext(
return this;
}
-} // namespace table
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestylepart.cxx b/oox/source/drawingml/table/tablestylepart.cxx
index 322021e1e6ef..e9fed946021f 100644
--- a/oox/source/drawingml/table/tablestylepart.cxx
+++ b/oox/source/drawingml/table/tablestylepart.cxx
@@ -25,12 +25,12 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableStylePart::TableStylePart()
{
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/table/tablestyletextstylecontext.cxx b/oox/source/drawingml/table/tablestyletextstylecontext.cxx
index 7567ac4c8130..d4206439f162 100644
--- a/oox/source/drawingml/table/tablestyletextstylecontext.cxx
+++ b/oox/source/drawingml/table/tablestyletextstylecontext.cxx
@@ -29,7 +29,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml { namespace table {
+namespace oox::drawingml::table {
TableStyleTextStyleContext::TableStyleTextStyleContext( ContextHandler2Helper const & rParent,
const AttributeList& rAttribs, TableStylePart& rTableStylePart )
@@ -93,6 +93,6 @@ TableStyleTextStyleContext::onCreateContext( ::sal_Int32 aElementToken, const At
return new ColorValueContext( *this, mrTableStylePart.getTextColor() );
}
-} } }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textbody.cxx b/oox/source/drawingml/textbody.cxx
index 219128c7f6e0..4c3564b4d63b 100644
--- a/oox/source/drawingml/textbody.cxx
+++ b/oox/source/drawingml/textbody.cxx
@@ -29,7 +29,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::beans;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextBody::TextBody()
{
@@ -134,6 +134,6 @@ void TextBody::ApplyStyleEmpty(
}
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textbodycontext.cxx b/oox/source/drawingml/textbodycontext.cxx
index d0f8769cc962..c3221df82d4f 100644
--- a/oox/source/drawingml/textbodycontext.cxx
+++ b/oox/source/drawingml/textbodycontext.cxx
@@ -38,7 +38,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::text;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -203,6 +203,6 @@ ContextHandlerRef TextBodyContext::onCreateContext( sal_Int32 aElementToken, con
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textbodyproperties.cxx b/oox/source/drawingml/textbodyproperties.cxx
index 5998c429b494..7aff131cd0fb 100644
--- a/oox/source/drawingml/textbodyproperties.cxx
+++ b/oox/source/drawingml/textbodyproperties.cxx
@@ -27,8 +27,7 @@
using namespace ::com::sun::star::drawing;
using namespace ::com::sun::star::text;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
TextBodyProperties::TextBodyProperties()
: mbAnchorCtr(false)
@@ -96,7 +95,6 @@ void TextBodyProperties::pushRotationAdjustments()
}
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textbodypropertiescontext.cxx b/oox/source/drawingml/textbodypropertiescontext.cxx
index d696b4c3ac70..6118fffa2543 100644
--- a/oox/source/drawingml/textbodypropertiescontext.cxx
+++ b/oox/source/drawingml/textbodypropertiescontext.cxx
@@ -47,7 +47,7 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_TextBodyProperties
TextBodyPropertiesContext::TextBodyPropertiesContext(ContextHandler2Helper const& rParent,
@@ -189,6 +189,6 @@ ContextHandlerRef TextBodyPropertiesContext::onCreateContext( sal_Int32 aElement
return nullptr;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textcharacterproperties.cxx b/oox/source/drawingml/textcharacterproperties.cxx
index 54b939ac6827..3bfff3377e9a 100644
--- a/oox/source/drawingml/textcharacterproperties.cxx
+++ b/oox/source/drawingml/textcharacterproperties.cxx
@@ -38,8 +38,7 @@ using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
void TextCharacterProperties::assignUsed( const TextCharacterProperties& rSourceProps )
{
@@ -209,7 +208,6 @@ float TextCharacterProperties::getCharHeightPoints( float fDefault ) const
return moHeight.has() ? GetFontHeight( moHeight.get() ) : fDefault;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textcharacterpropertiescontext.cxx b/oox/source/drawingml/textcharacterpropertiescontext.cxx
index 236219d844cf..9c0157c9d5b9 100644
--- a/oox/source/drawingml/textcharacterpropertiescontext.cxx
+++ b/oox/source/drawingml/textcharacterpropertiescontext.cxx
@@ -37,7 +37,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::awt;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_TextCharacterProperties
TextCharacterPropertiesContext::TextCharacterPropertiesContext(
@@ -240,6 +240,6 @@ ContextHandlerRef TextCharacterPropertiesContext::onCreateContext( sal_Int32 aEl
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/texteffectscontext.cxx b/oox/source/drawingml/texteffectscontext.cxx
index 4bf165fe9dae..8b42d2061379 100644
--- a/oox/source/drawingml/texteffectscontext.cxx
+++ b/oox/source/drawingml/texteffectscontext.cxx
@@ -15,7 +15,7 @@
#include <map>
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
namespace
{
@@ -314,6 +314,6 @@ ContextHandlerRef TextEffectsContext::onCreateContext(sal_Int32 aElementToken, c
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textfield.cxx b/oox/source/drawingml/textfield.cxx
index 61b50e8ef549..8d22d0f57161 100644
--- a/oox/source/drawingml/textfield.cxx
+++ b/oox/source/drawingml/textfield.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextField::TextField()
{
@@ -247,6 +247,6 @@ sal_Int32 TextField::insertAt(
return nCharHeight;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textfieldcontext.cxx b/oox/source/drawingml/textfieldcontext.cxx
index ea23e1d0b9b1..8cfb17c08b18 100644
--- a/oox/source/drawingml/textfieldcontext.cxx
+++ b/oox/source/drawingml/textfieldcontext.cxx
@@ -29,7 +29,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextFieldContext::TextFieldContext( ContextHandler2Helper const & rParent,
const AttributeList& rAttributes,
@@ -73,6 +73,6 @@ ContextHandlerRef TextFieldContext::onCreateContext( sal_Int32 aElementToken, co
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textfont.cxx b/oox/source/drawingml/textfont.cxx
index 961453e85737..374d564d1282 100644
--- a/oox/source/drawingml/textfont.cxx
+++ b/oox/source/drawingml/textfont.cxx
@@ -27,8 +27,7 @@
using ::oox::core::XmlFilterBase;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -92,7 +91,6 @@ bool TextFont::implGetFontData( OUString& rFontName, sal_Int16& rnFontPitch, sal
return !rFontName.isEmpty();
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textliststyle.cxx b/oox/source/drawingml/textliststyle.cxx
index 15475ddcacb0..d900e3cef338 100644
--- a/oox/source/drawingml/textliststyle.cxx
+++ b/oox/source/drawingml/textliststyle.cxx
@@ -20,7 +20,7 @@
#include <drawingml/textliststyle.hxx>
#include <sal/log.hxx>
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextListStyle::TextListStyle()
{
@@ -94,6 +94,6 @@ void TextListStyle::dump() const
}
}
#endif
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textliststylecontext.cxx b/oox/source/drawingml/textliststylecontext.cxx
index 9c43e7206f1b..25323c314016 100644
--- a/oox/source/drawingml/textliststylecontext.cxx
+++ b/oox/source/drawingml/textliststylecontext.cxx
@@ -27,7 +27,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_TextListStyle
TextListStyleContext::TextListStyleContext( ContextHandler2Helper const & rParent, TextListStyle& rTextListStyle )
@@ -73,6 +73,6 @@ ContextHandlerRef TextListStyleContext::onCreateContext( sal_Int32 aElementToken
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx
index 078fd777bff4..46bb5b5a38bc 100644
--- a/oox/source/drawingml/textparagraph.cxx
+++ b/oox/source/drawingml/textparagraph.cxx
@@ -35,7 +35,7 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextParagraph::TextParagraph()
{
@@ -183,6 +183,6 @@ formulaimport::XmlStreamBuilder & TextParagraph::GetMathXml()
return *m_pMathXml;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx
index 1043323f26d6..b35a8e21ce39 100644
--- a/oox/source/drawingml/textparagraphproperties.cxx
+++ b/oox/source/drawingml/textparagraphproperties.cxx
@@ -57,7 +57,7 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::container;
using ::com::sun::star::awt::FontDescriptor;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
BulletList::BulletList( )
: maBulletColorPtr( new Color() )
@@ -523,6 +523,6 @@ void TextParagraphProperties::dump() const
aPropSet.dump();
}
#endif
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textparagraphpropertiescontext.cxx b/oox/source/drawingml/textparagraphpropertiescontext.cxx
index f194d04c5ee0..e4d066c78085 100644
--- a/oox/source/drawingml/textparagraphpropertiescontext.cxx
+++ b/oox/source/drawingml/textparagraphpropertiescontext.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::text;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
// CT_TextParagraphProperties
TextParagraphPropertiesContext::TextParagraphPropertiesContext( ContextHandler2Helper const & rParent,
@@ -338,6 +338,6 @@ ContextHandlerRef TextParagraphPropertiesContext::onCreateContext( sal_Int32 aEl
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 3f66c7a852e4..ea51f1472a0e 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -40,7 +40,7 @@ using namespace ::com::sun::star::text;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextRun::TextRun() :
mbIsLineBreak( false )
@@ -177,6 +177,6 @@ sal_Int32 TextRun::insertAt(
return nCharHeight;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/textspacingcontext.cxx b/oox/source/drawingml/textspacingcontext.cxx
index b7d3232e9dfa..f96f1a20caac 100644
--- a/oox/source/drawingml/textspacingcontext.cxx
+++ b/oox/source/drawingml/textspacingcontext.cxx
@@ -28,7 +28,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::xml::sax;
using namespace ::com::sun::star::uno;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextSpacingContext::TextSpacingContext( ContextHandler2Helper const & rParent, TextSpacing & aSpacing )
: ContextHandler2( rParent )
@@ -58,6 +58,6 @@ namespace oox { namespace drawingml {
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/texttabstoplistcontext.cxx b/oox/source/drawingml/texttabstoplistcontext.cxx
index 30f0a0f64288..f20493a4bf6b 100644
--- a/oox/source/drawingml/texttabstoplistcontext.cxx
+++ b/oox/source/drawingml/texttabstoplistcontext.cxx
@@ -33,7 +33,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::style;
using namespace ::com::sun::star::xml::sax;
-namespace oox { namespace drawingml {
+namespace oox::drawingml {
TextTabStopListContext::TextTabStopListContext( ContextHandler2Helper const & rParent, std::vector< TabStop > & aTabList )
: ContextHandler2( rParent )
@@ -71,6 +71,6 @@ namespace oox { namespace drawingml {
}
return this;
}
-} }
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/theme.cxx b/oox/source/drawingml/theme.cxx
index df48d5c78f61..db3124fa9f67 100644
--- a/oox/source/drawingml/theme.cxx
+++ b/oox/source/drawingml/theme.cxx
@@ -21,8 +21,7 @@
#include <oox/token/tokens.hxx>
#include <drawingml/textcharacterproperties.hxx>
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
Theme::Theme()
{
@@ -106,7 +105,6 @@ const TextFont* Theme::resolveFont( const OUString& rName ) const
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/themeelementscontext.cxx b/oox/source/drawingml/themeelementscontext.cxx
index 3919a3790bd6..ab2c6f972a71 100644
--- a/oox/source/drawingml/themeelementscontext.cxx
+++ b/oox/source/drawingml/themeelementscontext.cxx
@@ -35,8 +35,7 @@ using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
namespace {
@@ -235,7 +234,6 @@ ContextHandlerRef ThemeElementsContext::onCreateContext( sal_Int32 nElement, con
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/themefragmenthandler.cxx b/oox/source/drawingml/themefragmenthandler.cxx
index e1b539e075ee..6b31383cb0f9 100644
--- a/oox/source/drawingml/themefragmenthandler.cxx
+++ b/oox/source/drawingml/themefragmenthandler.cxx
@@ -26,8 +26,7 @@
using namespace ::oox::core;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
ThemeFragmentHandler::ThemeFragmentHandler( XmlFilterBase& rFilter, const OUString& rFragmentPath, Theme& rTheme ) :
FragmentHandler2( rFilter, rFragmentPath ),
@@ -71,7 +70,6 @@ ContextHandlerRef ThemeFragmentHandler::onCreateContext( sal_Int32 nElement, con
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/oox/source/drawingml/transform2dcontext.cxx b/oox/source/drawingml/transform2dcontext.cxx
index 7798ecdecdba..bdc567d6c7b9 100644
--- a/oox/source/drawingml/transform2dcontext.cxx
+++ b/oox/source/drawingml/transform2dcontext.cxx
@@ -27,8 +27,7 @@
using namespace ::com::sun::star;
using ::oox::core::ContextHandlerRef;
-namespace oox {
-namespace drawingml {
+namespace oox::drawingml {
/** context to import a CT_Transform2D */
Transform2DContext::Transform2DContext( ContextHandler2Helper const & rParent, const AttributeList& rAttribs, Shape& rShape, bool btxXfrm ) throw()
@@ -113,7 +112,6 @@ ContextHandlerRef Transform2DContext::onCreateContext( sal_Int32 aElementToken,
return nullptr;
}
-} // namespace drawingml
} // namespace oox
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */