diff options
Diffstat (limited to 'chart2/source/tools')
-rw-r--r-- | chart2/source/tools/BaseGFXHelper.cxx | 5 | ||||
-rw-r--r-- | chart2/source/tools/DataSeriesHelper.cxx | 6 | ||||
-rw-r--r-- | chart2/source/tools/DataSource.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/ImplOPropertySet.cxx | 5 | ||||
-rw-r--r-- | chart2/source/tools/InternalDataProvider.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/LabeledDataSequence.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/ModifyListenerHelper.cxx | 5 | ||||
-rw-r--r-- | chart2/source/tools/ObjectIdentifier.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/PropertyHelper.cxx | 6 | ||||
-rw-r--r-- | chart2/source/tools/RegressionCurveModel.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/RegressionEquation.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/Scaling.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/WrappedDefaultProperty.cxx | 2 | ||||
-rw-r--r-- | chart2/source/tools/XMLRangeHelper.cxx | 5 |
14 files changed, 14 insertions, 34 deletions
diff --git a/chart2/source/tools/BaseGFXHelper.cxx b/chart2/source/tools/BaseGFXHelper.cxx index 4bdeb26b780c..8db9b79b7fd0 100644 --- a/chart2/source/tools/BaseGFXHelper.cxx +++ b/chart2/source/tools/BaseGFXHelper.cxx @@ -25,9 +25,7 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::drawing; using namespace ::basegfx; -namespace chart -{ -namespace BaseGFXHelper +namespace chart::BaseGFXHelper { ::basegfx::B3DRange getBoundVolume( const drawing::PolyPolygonShape3D& rPolyPoly ) @@ -195,7 +193,6 @@ void ReduceToRotationMatrix( ::basegfx::B3DHomMatrix & rB3DMatrix ) rB3DMatrix = aRotationMatrix; } -} // namespace BaseGFXHelper } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx index 0edb82fd5dc0..4b4c954b5e0e 100644 --- a/chart2/source/tools/DataSeriesHelper.cxx +++ b/chart2/source/tools/DataSeriesHelper.cxx @@ -184,10 +184,7 @@ void lcl_insertOrDeleteDataLabelsToSeriesAndAllPoints( const Reference< chart2:: } // anonymous namespace -namespace chart -{ - -namespace DataSeriesHelper +namespace chart::DataSeriesHelper { OUString getRole( const uno::Reference< chart2::data::XLabeledDataSequence >& xLabeledDataSequence ) @@ -844,7 +841,6 @@ void deleteDataLabelsFromPoint( const Reference< beans::XPropertySet >& xPointPr } } -} // namespace DataSeriesHelper } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/tools/DataSource.cxx b/chart2/source/tools/DataSource.cxx index 284427cd358f..bdcac98ef1e6 100644 --- a/chart2/source/tools/DataSource.cxx +++ b/chart2/source/tools/DataSource.cxx @@ -20,7 +20,7 @@ #include <DataSource.hxx> #include <cppuhelper/supportsservice.hxx> -namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com::sun::star::uno { class XComponentContext; } using ::com::sun::star::uno::Sequence; using ::com::sun::star::uno::Reference; diff --git a/chart2/source/tools/ImplOPropertySet.cxx b/chart2/source/tools/ImplOPropertySet.cxx index 2eb03d99e52a..fa52b5d03ddc 100644 --- a/chart2/source/tools/ImplOPropertySet.cxx +++ b/chart2/source/tools/ImplOPropertySet.cxx @@ -84,9 +84,7 @@ struct lcl_replaceInterfacePropertiesByClones } // anonymous namespace -namespace property -{ -namespace impl +namespace property::impl { ImplOPropertySet::ImplOPropertySet() @@ -175,7 +173,6 @@ bool ImplOPropertySet::SetStyle( const Reference< style::XStyle > & xStyle ) return true; } -} // namespace impl } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index eec8280425b4..9a9d2db8188a 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -43,7 +43,7 @@ #include <vector> #include <algorithm> -namespace com { namespace sun { namespace star { namespace chart2 { class XChartDocument; } } } } +namespace com::sun::star::chart2 { class XChartDocument; } using namespace ::com::sun::star; using namespace ::std; diff --git a/chart2/source/tools/LabeledDataSequence.cxx b/chart2/source/tools/LabeledDataSequence.cxx index bd945715db12..c3a896b22ff6 100644 --- a/chart2/source/tools/LabeledDataSequence.cxx +++ b/chart2/source/tools/LabeledDataSequence.cxx @@ -22,7 +22,7 @@ #include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> -namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com::sun::star::uno { class XComponentContext; } using namespace ::com::sun::star; diff --git a/chart2/source/tools/ModifyListenerHelper.cxx b/chart2/source/tools/ModifyListenerHelper.cxx index b921cd167109..4eb88a01cbe9 100644 --- a/chart2/source/tools/ModifyListenerHelper.cxx +++ b/chart2/source/tools/ModifyListenerHelper.cxx @@ -78,9 +78,7 @@ private: } // anonymous namespace -namespace chart -{ -namespace ModifyListenerHelper +namespace chart::ModifyListenerHelper { uno::Reference< util::XModifyListener > createModifyEventForwarder() @@ -180,7 +178,6 @@ void SAL_CALL ModifyEventForwarder::disposing() DisposeAndClear( this ); } -} // namespace ModifyListenerHelper } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx index 03f261a860db..7b47967f1f9a 100644 --- a/chart2/source/tools/ObjectIdentifier.cxx +++ b/chart2/source/tools/ObjectIdentifier.cxx @@ -42,7 +42,7 @@ #include <rtl/ustrbuf.hxx> #include <tools/diagnose_ex.h> -namespace com { namespace sun { namespace star { namespace drawing { class XShape; } } } } +namespace com::sun::star::drawing { class XShape; } namespace chart { diff --git a/chart2/source/tools/PropertyHelper.cxx b/chart2/source/tools/PropertyHelper.cxx index b874f53027b3..fb242cd567c0 100644 --- a/chart2/source/tools/PropertyHelper.cxx +++ b/chart2/source/tools/PropertyHelper.cxx @@ -172,9 +172,7 @@ OUString lcl_addNamedPropertyUniqueNameToTable( } // anonymous namespace -namespace chart -{ -namespace PropertyHelper +namespace chart::PropertyHelper { OUString addLineDashUniqueNameToTable( @@ -294,8 +292,6 @@ void setEmptyPropertyValueDefault( tPropertyValueMap & rOutMap, tPropertyValueMa setPropertyValueDefault( rOutMap, key, uno::Any()); } -} // namespace PropertyHelper - } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx index 6afde52ea193..f40b9389e4b5 100644 --- a/chart2/source/tools/RegressionCurveModel.cxx +++ b/chart2/source/tools/RegressionCurveModel.cxx @@ -28,7 +28,7 @@ #include <com/sun/star/beans/PropertyAttribute.hpp> #include <tools/diagnose_ex.h> -namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com::sun::star::uno { class XComponentContext; } using namespace ::com::sun::star; diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx index 72da779cca35..1c46dc69f054 100644 --- a/chart2/source/tools/RegressionEquation.cxx +++ b/chart2/source/tools/RegressionEquation.cxx @@ -37,7 +37,7 @@ #include <algorithm> -namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com::sun::star::uno { class XComponentContext; } using namespace ::com::sun::star; diff --git a/chart2/source/tools/Scaling.cxx b/chart2/source/tools/Scaling.cxx index ef2e363c9737..e387a3047442 100644 --- a/chart2/source/tools/Scaling.cxx +++ b/chart2/source/tools/Scaling.cxx @@ -22,7 +22,7 @@ #include <com/sun/star/uno/RuntimeException.hpp> #include <cppuhelper/supportsservice.hxx> -namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com::sun::star::uno { class XComponentContext; } namespace { diff --git a/chart2/source/tools/WrappedDefaultProperty.cxx b/chart2/source/tools/WrappedDefaultProperty.cxx index 576458a3fd36..6638654e76c1 100644 --- a/chart2/source/tools/WrappedDefaultProperty.cxx +++ b/chart2/source/tools/WrappedDefaultProperty.cxx @@ -22,7 +22,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> -namespace com { namespace sun { namespace star { namespace beans { class XPropertyState; } } } } +namespace com::sun::star::beans { class XPropertyState; } using namespace ::com::sun::star; diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx index 5a23b3790458..6d9b5a2649e0 100644 --- a/chart2/source/tools/XMLRangeHelper.cxx +++ b/chart2/source/tools/XMLRangeHelper.cxx @@ -283,9 +283,7 @@ bool lcl_getCellRangeAddressFromXMLString( } // anonymous namespace -namespace chart -{ -namespace XMLRangeHelper +namespace chart::XMLRangeHelper { CellRange getCellRangeFromXMLString( const OUString & rXMLString ) @@ -389,7 +387,6 @@ OUString getXMLStringFromCellRange( const CellRange & rRange ) return aBuffer.makeStringAndClear(); } -} // namespace XMLRangeHelper } // namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |