summaryrefslogtreecommitdiff
path: root/chart2/source/tools
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-07-28 14:55:43 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-29 11:34:33 +0000
commitdd9c97d587d2a295d44e8685d253d30542a2c85a (patch)
tree8736a3552ac8c56fc9102a6518072c68295c4a25 /chart2/source/tools
parent05bd5b46ea659df95fb6f0c895c090629b541e0f (diff)
fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa Reviewed-on: https://gerrit.libreoffice.org/5148 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'chart2/source/tools')
-rw-r--r--chart2/source/tools/AxisHelper.cxx5
-rw-r--r--chart2/source/tools/BaseGFXHelper.cxx1
-rw-r--r--chart2/source/tools/CachedDataSequence.cxx9
-rw-r--r--chart2/source/tools/CharacterProperties.cxx2
-rw-r--r--chart2/source/tools/ChartDebugTrace.cxx1
-rw-r--r--chart2/source/tools/ChartModelHelper.cxx5
-rw-r--r--chart2/source/tools/ChartTypeHelper.cxx5
-rw-r--r--chart2/source/tools/ChartViewHelper.cxx5
-rw-r--r--chart2/source/tools/ColorPerPointHelper.cxx5
-rw-r--r--chart2/source/tools/CommonConverters.cxx10
-rw-r--r--chart2/source/tools/ConfigColorScheme.cxx9
-rw-r--r--chart2/source/tools/ControllerLockGuard.cxx5
-rw-r--r--chart2/source/tools/DataSeriesHelper.cxx4
-rw-r--r--chart2/source/tools/DataSource.cxx5
-rw-r--r--chart2/source/tools/DataSourceHelper.cxx5
-rw-r--r--chart2/source/tools/DiagramHelper.cxx3
-rw-r--r--chart2/source/tools/ErrorBar.cxx2
-rw-r--r--chart2/source/tools/ExplicitCategoriesProvider.cxx7
-rw-r--r--chart2/source/tools/ExponentialRegressionCurveCalculator.cxx2
-rw-r--r--chart2/source/tools/FillProperties.cxx3
-rw-r--r--chart2/source/tools/FormattedStringHelper.cxx5
-rw-r--r--chart2/source/tools/ImplOPropertySet.cxx1
-rw-r--r--chart2/source/tools/InternalData.cxx3
-rw-r--r--chart2/source/tools/InternalDataProvider.cxx12
-rw-r--r--chart2/source/tools/LabeledDataSequence.cxx5
-rw-r--r--chart2/source/tools/LegendHelper.cxx5
-rw-r--r--chart2/source/tools/LifeTime.cxx6
-rw-r--r--chart2/source/tools/LinePropertiesHelper.cxx1
-rw-r--r--chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx1
-rw-r--r--chart2/source/tools/MeanValueRegressionCurveCalculator.cxx2
-rw-r--r--chart2/source/tools/MediaDescriptorHelper.cxx2
-rw-r--r--chart2/source/tools/ModifyListenerCallBack.cxx4
-rw-r--r--chart2/source/tools/ModifyListenerHelper.cxx3
-rw-r--r--chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx1
-rw-r--r--chart2/source/tools/NameContainer.cxx12
-rw-r--r--chart2/source/tools/NumberFormatterWrapper.cxx8
-rw-r--r--chart2/source/tools/OPropertySet.cxx2
-rw-r--r--chart2/source/tools/ObjectIdentifier.cxx6
-rw-r--r--chart2/source/tools/PotentialRegressionCurveCalculator.cxx1
-rw-r--r--chart2/source/tools/PropertyHelper.cxx4
-rw-r--r--chart2/source/tools/RangeHighlighter.cxx2
-rw-r--r--chart2/source/tools/ReferenceSizeProvider.cxx4
-rw-r--r--chart2/source/tools/RegressionCalculationHelper.hxx1
-rw-r--r--chart2/source/tools/RegressionCurveCalculator.cxx2
-rw-r--r--chart2/source/tools/RegressionCurveHelper.cxx8
-rw-r--r--chart2/source/tools/RegressionCurveModel.cxx18
-rw-r--r--chart2/source/tools/RegressionEquation.cxx10
-rw-r--r--chart2/source/tools/RegressionEquation.hxx1
-rw-r--r--chart2/source/tools/RelativePositionHelper.cxx2
-rw-r--r--chart2/source/tools/ResId.cxx1
-rw-r--r--chart2/source/tools/ResourceManager.cxx1
-rw-r--r--chart2/source/tools/Scaling.cxx10
-rw-r--r--chart2/source/tools/SceneProperties.cxx4
-rw-r--r--chart2/source/tools/ThreeDHelper.cxx6
-rw-r--r--chart2/source/tools/TitleHelper.cxx5
-rw-r--r--chart2/source/tools/TrueGuard.cxx1
-rw-r--r--chart2/source/tools/UncachedDataSequence.cxx13
-rw-r--r--chart2/source/tools/UserDefinedProperties.cxx1
-rw-r--r--chart2/source/tools/WeakListenerAdapter.cxx3
-rw-r--r--chart2/source/tools/WrappedDefaultProperty.cxx1
-rw-r--r--chart2/source/tools/WrappedDirectStateProperty.cxx1
-rw-r--r--chart2/source/tools/WrappedIgnoreProperty.cxx6
-rw-r--r--chart2/source/tools/WrappedProperty.cxx6
-rw-r--r--chart2/source/tools/WrappedPropertySet.cxx10
-rw-r--r--chart2/source/tools/XMLRangeHelper.cxx10
-rw-r--r--chart2/source/tools/_serviceregistration_tools.cxx1
66 files changed, 0 insertions, 305 deletions
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx
index 8a769f808f3a..003795bbcbae 100644
--- a/chart2/source/tools/AxisHelper.cxx
+++ b/chart2/source/tools/AxisHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "AxisHelper.hxx"
#include "DiagramHelper.hxx"
#include "ChartTypeHelper.hxx"
@@ -49,10 +48,8 @@
#include <map>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
using ::com::sun::star::uno::Reference;
@@ -1156,8 +1153,6 @@ bool AxisHelper::isAxisPositioningEnabled()
return nCurrentVersion >= SvtSaveOptions::ODFVER_012;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/BaseGFXHelper.cxx b/chart2/source/tools/BaseGFXHelper.cxx
index 27eb7bc99bb2..df671161df4c 100644
--- a/chart2/source/tools/BaseGFXHelper.cxx
+++ b/chart2/source/tools/BaseGFXHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "BaseGFXHelper.hxx"
#include <com/sun/star/drawing/DoubleSequence.hpp>
diff --git a/chart2/source/tools/CachedDataSequence.cxx b/chart2/source/tools/CachedDataSequence.cxx
index deada2065cb3..406606c5256d 100644
--- a/chart2/source/tools/CachedDataSequence.cxx
+++ b/chart2/source/tools/CachedDataSequence.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "CachedDataSequence.hxx"
#include "macros.hxx"
#include "PropertyHelper.hxx"
@@ -57,8 +56,6 @@ enum
};
} // anonymous namespace
-
-// ____________________
namespace chart
{
@@ -226,8 +223,6 @@ Sequence< Any > CachedDataSequence::Impl_getMixedData() const
return aResult;
}
-// ================================================================================
-
Sequence< OUString > CachedDataSequence::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 4 );
@@ -249,14 +244,12 @@ Reference< beans::XPropertySetInfo > SAL_CALL CachedDataSequence::getPropertySet
}
// ____ ::comphelper::OPropertySetHelper ____
-// __________________________________________
::cppu::IPropertyArrayHelper& CachedDataSequence::getInfoHelper()
{
return *getArrayHelper();
}
// ____ ::comphelper::OPropertyArrayHelper ____
-// ____________________________________________
::cppu::IPropertyArrayHelper* CachedDataSequence::createArrayHelper() const
{
Sequence< beans::Property > aProps;
@@ -269,8 +262,6 @@ Reference< beans::XPropertySetInfo > SAL_CALL CachedDataSequence::getPropertySet
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( CachedDataSequence, lcl_aServiceName )
-// ================================================================================
-
// ________ XNumericalDataSequence ________
Sequence< double > SAL_CALL CachedDataSequence::getNumericalData()
throw (uno::RuntimeException)
diff --git a/chart2/source/tools/CharacterProperties.cxx b/chart2/source/tools/CharacterProperties.cxx
index ff8b8c9a167c..8f1c3d249042 100644
--- a/chart2/source/tools/CharacterProperties.cxx
+++ b/chart2/source/tools/CharacterProperties.cxx
@@ -41,7 +41,6 @@
#include <comphelper/InlineContainer.hxx>
-
// header for struct SvtLinguConfig
#include <unotools/lingucfg.hxx>
#include <i18nlangtag/mslangid.hxx>
@@ -52,7 +51,6 @@ using namespace ::com::sun::star;
using ::com::sun::star::beans::Property;
-
namespace chart
{
diff --git a/chart2/source/tools/ChartDebugTrace.cxx b/chart2/source/tools/ChartDebugTrace.cxx
index a1817b0313a9..6c6ddd1f9fb3 100644
--- a/chart2/source/tools/ChartDebugTrace.cxx
+++ b/chart2/source/tools/ChartDebugTrace.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ChartDebugTrace.hxx"
#include "macros.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
diff --git a/chart2/source/tools/ChartModelHelper.cxx b/chart2/source/tools/ChartModelHelper.cxx
index 5c1e78d8e800..b49ca02c8d4b 100644
--- a/chart2/source/tools/ChartModelHelper.cxx
+++ b/chart2/source/tools/ChartModelHelper.cxx
@@ -36,10 +36,8 @@
#include <com/sun/star/embed/XVisualObject.hpp>
#include <com/sun/star/view/XSelectionChangeListener.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -136,7 +134,6 @@ uno::Reference< XCoordinateSystem > ChartModelHelper::getFirstCoordinateSystem(
return getDataSeries( uno::Reference< chart2::XChartDocument >( xModel, uno::UNO_QUERY ));
}
-
uno::Reference< XChartType > ChartModelHelper::getChartTypeOfSeries(
const uno::Reference< frame::XModel >& xModel
, const uno::Reference< XDataSeries >& xGivenDataSeries )
@@ -272,8 +269,6 @@ bool ChartModelHelper::setIncludeHiddenCells( bool bIncludeHiddenCells, const un
return bChanged;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ChartTypeHelper.cxx b/chart2/source/tools/ChartTypeHelper.cxx
index 6cfc333d99a8..f8affac41102 100644
--- a/chart2/source/tools/ChartTypeHelper.cxx
+++ b/chart2/source/tools/ChartTypeHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ChartTypeHelper.hxx"
#include "DiagramHelper.hxx"
#include "DataSeriesHelper.hxx"
@@ -29,11 +28,9 @@
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
#include <com/sun/star/chart/MissingValueTreatment.hpp>
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
-//.............................................................................
namespace chart
{
@@ -688,8 +685,6 @@ bool ChartTypeHelper::isSupportingOnlyDeepStackingFor3D( const uno::Reference< X
return bRet;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ChartViewHelper.cxx b/chart2/source/tools/ChartViewHelper.cxx
index cb79d6417201..6814faff973a 100644
--- a/chart2/source/tools/ChartViewHelper.cxx
+++ b/chart2/source/tools/ChartViewHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ChartViewHelper.hxx"
#include "macros.hxx"
#include "servicenames.hxx"
@@ -26,10 +25,8 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using ::com::sun::star::uno::Reference;
@@ -54,8 +51,6 @@ void ChartViewHelper::setViewToDirtyState( const uno::Reference< frame::XModel >
ASSERT_EXCEPTION( ex );
}
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ColorPerPointHelper.cxx b/chart2/source/tools/ColorPerPointHelper.cxx
index ad60db5af27a..65e72233c11f 100644
--- a/chart2/source/tools/ColorPerPointHelper.cxx
+++ b/chart2/source/tools/ColorPerPointHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ColorPerPointHelper.hxx"
#include "macros.hxx"
#include <com/sun/star/chart2/XDataSeries.hpp>
@@ -25,10 +24,8 @@
#include <algorithm>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -80,8 +77,6 @@ bool ColorPerPointHelper::hasPointOwnProperties(
return false;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/CommonConverters.cxx b/chart2/source/tools/CommonConverters.cxx
index ca401941da2b..5c6acb285386 100644
--- a/chart2/source/tools/CommonConverters.cxx
+++ b/chart2/source/tools/CommonConverters.cxx
@@ -27,19 +27,12 @@
#include <cstdarg>
-
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
// diverse methods for class conversions; e.g. ::basegfx::B3DHomMatrix to HomogenMatrix
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
drawing::HomogenMatrix B3DHomMatrixToHomogenMatrix( const ::basegfx::B3DHomMatrix& rM )
{
@@ -100,7 +93,6 @@ drawing::HomogenMatrix B3DHomMatrixToHomogenMatrix( const ::basegfx::B3DHomMatri
return aM;
}
-
drawing::HomogenMatrix3 B2DHomMatrixToHomogenMatrix3( const ::basegfx::B2DHomMatrix& rM )
{
drawing::HomogenMatrix3 aHM;
@@ -532,8 +524,6 @@ bool replaceParamterInString( OUString & rInOutResourceString,
return true;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx
index 57743923f172..df8d4fe19ae4 100644
--- a/chart2/source/tools/ConfigColorScheme.cxx
+++ b/chart2/source/tools/ConfigColorScheme.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ConfigColorScheme.hxx"
#include "ContainerHelper.hxx"
#include "macros.hxx"
@@ -39,8 +38,6 @@ static const OUString aSeriesPropName( "Series" );
} // anonymous namespace
-// --------------------------------------------------------------------------------
-
namespace chart
{
@@ -108,8 +105,6 @@ uno::Any ChartConfigItem::getProperty( const OUString & aPropertyName )
} // namespace impl
-// --------------------------------------------------------------------------------
-
// explicit
ConfigColorScheme::ConfigColorScheme(
const Reference< uno::XComponentContext > & xContext ) :
@@ -174,8 +169,6 @@ void ConfigColorScheme::notify( const OUString & rPropertyName )
m_bNeedsUpdate = true;
}
-// ================================================================================
-
Sequence< OUString > ConfigColorScheme::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 1 );
@@ -187,8 +180,6 @@ Sequence< OUString > ConfigColorScheme::getSupportedServiceNames_Static()
APPHELPER_XSERVICEINFO_IMPL( ConfigColorScheme,
OUString("com.sun.star.comp.chart2.ConfigDefaultColorScheme") )
-// ================================================================================
-
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ControllerLockGuard.cxx b/chart2/source/tools/ControllerLockGuard.cxx
index ce57ac442428..9487769a7d26 100644
--- a/chart2/source/tools/ControllerLockGuard.cxx
+++ b/chart2/source/tools/ControllerLockGuard.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ControllerLockGuard.hxx"
using namespace ::com::sun::star;
@@ -41,8 +40,6 @@ ControllerLockGuard::~ControllerLockGuard()
m_xModel->unlockControllers();
}
-// ================================================================================
-
ControllerLockHelper::ControllerLockHelper( const Reference< frame::XModel > & xModel ) :
m_xModel( xModel )
{}
@@ -62,8 +59,6 @@ void ControllerLockHelper::unlockControllers()
m_xModel->unlockControllers();
}
-// ================================================================================
-
ControllerLockHelperGuard::ControllerLockHelperGuard( ControllerLockHelper & rHelper ) :
m_rHelper( rHelper )
{
diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx
index d7ec4ac688db..1bff4c3a129a 100644
--- a/chart2/source/tools/DataSeriesHelper.cxx
+++ b/chart2/source/tools/DataSeriesHelper.cxx
@@ -32,7 +32,6 @@
#include <com/sun/star/chart2/Symbol.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
-
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
@@ -50,7 +49,6 @@ using namespace ::com::sun::star::chart2;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
-// ----------------------------------------
namespace
{
@@ -185,7 +183,6 @@ void lcl_insertOrDeleteDataLabelsToSeriesAndAllPoints( const Reference< chart2::
}
} // anonymous namespace
-// ----------------------------------------
namespace chart
{
@@ -859,7 +856,6 @@ void deleteDataLabelsFromSeriesAndAllPoints( const Reference< chart2::XDataSerie
lcl_insertOrDeleteDataLabelsToSeriesAndAllPoints( xSeries, false /*bInsert*/ );
}
-
void insertDataLabelToPoint( const Reference< beans::XPropertySet >& xPointProp )
{
try
diff --git a/chart2/source/tools/DataSource.cxx b/chart2/source/tools/DataSource.cxx
index 71b6a5cb40fe..505c5335cebd 100644
--- a/chart2/source/tools/DataSource.cxx
+++ b/chart2/source/tools/DataSource.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "DataSource.hxx"
#include "LabeledDataSequence.hxx"
@@ -63,8 +62,6 @@ void SAL_CALL DataSource::setData( const Sequence< Reference< chart2::data::XLab
m_aDataSeq = aData;
}
-// ================================================================================
-
Sequence< OUString > DataSource::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 1 );
@@ -72,8 +69,6 @@ Sequence< OUString > DataSource::getSupportedServiceNames_Static()
return aServices;
}
-// ================================================================================
-
APPHELPER_XSERVICEINFO_IMPL( DataSource, lcl_aServiceName );
} // namespace chart
diff --git a/chart2/source/tools/DataSourceHelper.cxx b/chart2/source/tools/DataSourceHelper.cxx
index fab7b55011b8..4c9690fc6054 100644
--- a/chart2/source/tools/DataSourceHelper.cxx
+++ b/chart2/source/tools/DataSourceHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "DataSourceHelper.hxx"
#include "macros.hxx"
#include "ChartModelHelper.hxx"
@@ -37,10 +36,8 @@
#include <com/sun/star/chart/ChartDataRowSource.hpp>
#include <com/sun/star/chart/ErrorBarStyle.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
using ::com::sun::star::uno::Reference;
@@ -517,8 +514,6 @@ Sequence< OUString > DataSourceHelper::getRangesFromDataSource( const Reference<
return ContainerHelper::ContainerToSequence( aResult );
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx
index 1356237d5515..908ede1aa137 100644
--- a/chart2/source/tools/DiagramHelper.cxx
+++ b/chart2/source/tools/DiagramHelper.cxx
@@ -1350,7 +1350,6 @@ bool lcl_moveSeriesOrCheckIfMoveIsAllowed(
else
nNewSeriesIndex++;
-
if( nNewSeriesIndex >= 0 && nNewSeriesIndex < aSeriesList.getLength() )
{
//move series in the same charttype
@@ -1439,7 +1438,6 @@ bool lcl_moveSeriesOrCheckIfMoveIsAllowed(
}
} // anonymous namespace
-
bool DiagramHelper::isSeriesMoveable(
const Reference< XDiagram >& xDiagram,
const Reference< XDataSeries >& xGivenDataSeries,
@@ -1454,7 +1452,6 @@ bool DiagramHelper::isSeriesMoveable(
return bIsMoveable;
}
-
bool DiagramHelper::moveSeries( const Reference< XDiagram >& xDiagram, const Reference< XDataSeries >& xGivenDataSeries, bool bForward )
{
bool bMoved = false;
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx
index 14c88fbbb502..3e305b94506a 100644
--- a/chart2/source/tools/ErrorBar.cxx
+++ b/chart2/source/tools/ErrorBar.cxx
@@ -457,8 +457,6 @@ void SAL_CALL ErrorBar::setParent(
m_xParent.set( Parent );
}
-// ================================================================================
-
uno::Sequence< OUString > ErrorBar::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aServices( 2 );
diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx
index 949e18990ade..5c2b9aa48a5f 100644
--- a/chart2/source/tools/ExplicitCategoriesProvider.cxx
+++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ExplicitCategoriesProvider.hxx"
#include "DiagramHelper.hxx"
#include "ChartTypeHelper.hxx"
@@ -33,10 +32,8 @@
#include <com/sun/star/util/NumberFormat.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -44,7 +41,6 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::std::vector;
-
ExplicitCategoriesProvider::ExplicitCategoriesProvider( const Reference< chart2::XCoordinateSystem >& xCooSysModel
, const uno::Reference< frame::XModel >& xChartModel )
: m_bDirty(true)
@@ -533,7 +529,6 @@ void ExplicitCategoriesProvider::init()
}
}
-
Sequence< OUString > ExplicitCategoriesProvider::getSimpleCategories()
{
if( !m_bIsExplicitCategoriesInited )
@@ -597,8 +592,6 @@ const std::vector< DatePlusIndex >& ExplicitCategoriesProvider::getDateCategori
return m_aDateCategories;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
index c76138ac809f..876067587211 100644
--- a/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/ExponentialRegressionCurveCalculator.cxx
@@ -26,7 +26,6 @@
using namespace ::com::sun::star;
-
namespace chart
{
@@ -131,7 +130,6 @@ uno::Sequence< geometry::RealPoint2D > SAL_CALL ExponentialRegressionCurveCalcul
return RegressionCurveCalculator::getCurveValues( min, max, nPointCount, xScalingX, xScalingY, bMaySkipPointsInCalculation );
}
-
OUString ExponentialRegressionCurveCalculator::ImplGetRepresentation(
const uno::Reference< util::XNumberFormatter >& xNumFormatter,
::sal_Int32 nNumberFormatKey ) const
diff --git a/chart2/source/tools/FillProperties.cxx b/chart2/source/tools/FillProperties.cxx
index f70332535489..668c2ef4de4b 100644
--- a/chart2/source/tools/FillProperties.cxx
+++ b/chart2/source/tools/FillProperties.cxx
@@ -137,7 +137,6 @@ void lcl_AddPropertiesToVector_only_BitmapProperties( ::std::vector< ::com::sun:
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
-
rOutProperties.push_back(
Property( "FillBitmapRectanglePoint",
FillProperties::PROP_FILL_BITMAP_RECTANGLEPOINT,
@@ -174,7 +173,6 @@ void lcl_AddPropertiesToVector_only_BitmapProperties( ::std::vector< ::com::sun:
| beans::PropertyAttribute::MAYBEDEFAULT ));
}
-
void lcl_AddDefaultsToMap_without_BitmapProperties(
::chart::tPropertyValueMap & rOutMap )
{
@@ -208,7 +206,6 @@ void FillProperties::AddPropertiesToVector(
::std::vector< Property > & rOutProperties )
{
// Fill Properties see service drawing::FillProperties
- // ---------------
lcl_AddPropertiesToVector_without_BitmapProperties( rOutProperties );
lcl_AddPropertiesToVector_only_BitmapProperties( rOutProperties );
}
diff --git a/chart2/source/tools/FormattedStringHelper.cxx b/chart2/source/tools/FormattedStringHelper.cxx
index f3a26442954c..36affff8b6c8 100644
--- a/chart2/source/tools/FormattedStringHelper.cxx
+++ b/chart2/source/tools/FormattedStringHelper.cxx
@@ -17,16 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "FormattedStringHelper.hxx"
#include "macros.hxx"
#include "PropertyHelper.hxx"
#include <com/sun/star/chart2/FormattedString.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -61,8 +58,6 @@ Sequence< Reference< chart2::XFormattedString2 > >
return Sequence< Reference< XFormattedString2 > >( & xFormStr, 1 );
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ImplOPropertySet.cxx b/chart2/source/tools/ImplOPropertySet.cxx
index 27632e1d070d..33b850ea90e4 100644
--- a/chart2/source/tools/ImplOPropertySet.cxx
+++ b/chart2/source/tools/ImplOPropertySet.cxx
@@ -192,7 +192,6 @@ void ImplOPropertySet::cloneInterfaceProperties()
lcl_replaceInterfacePropertiesByClones());
}
-
} // namespace impl
} // namespace chart
diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx
index 61dfaa96598f..66424a9a0f7a 100644
--- a/chart2/source/tools/InternalData.cxx
+++ b/chart2/source/tools/InternalData.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "InternalData.hxx"
#include "ResId.hxx"
#include "Strings.hrc"
@@ -34,7 +33,6 @@ using namespace ::std;
namespace chart
{
-// ----------------------------------------
namespace
{
struct lcl_NumberedStringGenerator
@@ -70,7 +68,6 @@ template< typename T >
}
} // anonymous namespace
-// ----------------------------------------
InternalData::InternalData()
: m_nColumnCount( 0 )
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx
index 2def119a8956..8168c266db91 100644
--- a/chart2/source/tools/InternalDataProvider.cxx
+++ b/chart2/source/tools/InternalDataProvider.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <rtl/math.hxx>
#include <valarray>
@@ -56,8 +55,6 @@ using ::com::sun::star::uno::Sequence;
namespace chart
{
-// ================================================================================
-
namespace
{
@@ -224,7 +221,6 @@ private:
sal_Int32 m_nLevel;
};
-
struct lcl_setAnyAtLevel : public ::std::binary_function< vector< uno::Any >, uno::Any, vector< uno::Any > >
{
public:
@@ -309,8 +305,6 @@ private:
} // anonymous namespace
-// ================================================================================
-
InternalDataProvider::InternalDataProvider( const Reference< uno::XComponentContext > & /*_xContext*/)
: m_bDataInColumns( true )
{}
@@ -1092,7 +1086,6 @@ void SAL_CALL InternalDataProvider::registerDataSequenceForChanges( const Refere
lcl_addDataSequenceToMap( xSeq->getSourceRangeRepresentation(), xSeq );
}
-
// ____ XRangeXMLConversion ____
OUString SAL_CALL InternalDataProvider::convertRangeToXML( const OUString& aRangeRepresentation )
throw (lang::IllegalArgumentException,
@@ -1464,9 +1457,6 @@ Reference< util::XCloneable > SAL_CALL InternalDataProvider::createClone()
return Reference< util::XCloneable >( new InternalDataProvider( *this ));
}
-
-// ================================================================================
-
Sequence< OUString > InternalDataProvider::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 1 );
@@ -1474,8 +1464,6 @@ Sequence< OUString > InternalDataProvider::getSupportedServiceNames_Static()
return aServices;
}
-// ================================================================================
-
APPHELPER_XSERVICEINFO_IMPL( InternalDataProvider, lcl_aServiceName );
} // namespace chart
diff --git a/chart2/source/tools/LabeledDataSequence.cxx b/chart2/source/tools/LabeledDataSequence.cxx
index 8b8785d5d353..68df3c83520c 100644
--- a/chart2/source/tools/LabeledDataSequence.cxx
+++ b/chart2/source/tools/LabeledDataSequence.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "LabeledDataSequence.hxx"
#include "ModifyListenerHelper.hxx"
#include "macros.hxx"
@@ -150,8 +149,6 @@ void SAL_CALL LabeledDataSequence::removeModifyListener( const Reference< util::
}
}
-// ================================================================================
-
Sequence< OUString > LabeledDataSequence::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 1 );
@@ -163,8 +160,6 @@ Sequence< OUString > LabeledDataSequence::getSupportedServiceNames_Static()
APPHELPER_XSERVICEINFO_IMPL( LabeledDataSequence,
OUString("com.sun.star.comp.chart2.LabeledDataSequence") )
-// ================================================================================
-
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/LegendHelper.cxx b/chart2/source/tools/LegendHelper.cxx
index f636dc0e3400..9ee10499fe0a 100644
--- a/chart2/source/tools/LegendHelper.cxx
+++ b/chart2/source/tools/LegendHelper.cxx
@@ -29,11 +29,8 @@
using namespace ::com::sun::star;
using ::com::sun::star::uno::Reference;
-//.............................................................................
namespace chart
{
-//.............................................................................
-
Reference< chart2::XLegend > LegendHelper::showLegend( const Reference< frame::XModel >& xModel
, const uno::Reference< uno::XComponentContext >& xContext )
@@ -126,8 +123,6 @@ bool LegendHelper::hasLegend( const uno::Reference< chart2::XDiagram > & xDiagra
return bReturn;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx
index 6c01913ce9d0..2562f56f2c20 100644
--- a/chart2/source/tools/LifeTime.cxx
+++ b/chart2/source/tools/LifeTime.cxx
@@ -28,7 +28,6 @@ using namespace ::com::sun::star;
namespace apphelper
{
-//--------------------------
LifeTimeManager::LifeTimeManager( lang::XComponent* pComponent, sal_Bool bLongLastingCallsCancelable )
: m_aListenerContainer( m_aAccessMutex )
@@ -163,8 +162,6 @@ bool LifeTimeManager::impl_isDisposed( bool bAssert )
//--release all resources and references after calling this method successful
}
-//-----------------------------------------------------------------
-
CloseableLifeTimeManager::CloseableLifeTimeManager( ::com::sun::star::util::XCloseable* pCloseable
, ::com::sun::star::lang::XComponent* pComponent
, sal_Bool bLongLastingCallsCancelable )
@@ -217,7 +214,6 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
impl_registerApiCall(sal_False);
}
- //------------------------------------------------
//no mutex is acquired
//only remove listener calls will be worked on until end of tryclose
@@ -435,8 +431,6 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
return sal_True;
}
-//--------------------------
-
sal_Bool LifeTimeGuard
::startApiCall(sal_Bool bLongLastingCall)
{
diff --git a/chart2/source/tools/LinePropertiesHelper.cxx b/chart2/source/tools/LinePropertiesHelper.cxx
index a965fc3039d8..b9eb6199d517 100644
--- a/chart2/source/tools/LinePropertiesHelper.cxx
+++ b/chart2/source/tools/LinePropertiesHelper.cxx
@@ -35,7 +35,6 @@ void LinePropertiesHelper::AddPropertiesToVector(
::std::vector< Property > & rOutProperties )
{
// Line Properties see service drawing::LineProperties
- // ---------------
rOutProperties.push_back(
Property( "LineStyle",
PROP_LINE_STYLE,
diff --git a/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx b/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
index af56a64e19c6..e3b5ab4d80e5 100644
--- a/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/LogarithmicRegressionCurveCalculator.cxx
@@ -26,7 +26,6 @@
using namespace ::com::sun::star;
-
namespace chart
{
diff --git a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
index 10bebac3c077..e94861456e05 100644
--- a/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/MeanValueRegressionCurveCalculator.cxx
@@ -25,7 +25,6 @@
using namespace ::com::sun::star;
-
namespace chart
{
@@ -94,7 +93,6 @@ double SAL_CALL MeanValueRegressionCurveCalculator::getCurveValue( double /*x*/
return m_fMeanValue;
}
-
uno::Sequence< geometry::RealPoint2D > SAL_CALL MeanValueRegressionCurveCalculator::getCurveValues(
double min, double max, ::sal_Int32 nPointCount,
const uno::Reference< chart2::XScaling >& xScalingX,
diff --git a/chart2/source/tools/MediaDescriptorHelper.cxx b/chart2/source/tools/MediaDescriptorHelper.cxx
index b777d7fb96ee..2a53343003af 100644
--- a/chart2/source/tools/MediaDescriptorHelper.cxx
+++ b/chart2/source/tools/MediaDescriptorHelper.cxx
@@ -24,7 +24,6 @@ using namespace ::com::sun::star;
namespace apphelper
{
-
const short FLAG_DEPRECATED =1;
const short FLAG_MODEL =2;
@@ -71,7 +70,6 @@ MediaDescriptorHelper::MediaDescriptorHelper( const uno::Sequence<
m_aModelProperties.realloc(rMediaDescriptor.getLength());
sal_Int32 nModelCount = 0;
-
//read given rMediaDescriptor and store in internal structures:
for( sal_Int32 i= rMediaDescriptor.getLength();i--;)
{
diff --git a/chart2/source/tools/ModifyListenerCallBack.cxx b/chart2/source/tools/ModifyListenerCallBack.cxx
index a5ec03d23085..15834b891522 100644
--- a/chart2/source/tools/ModifyListenerCallBack.cxx
+++ b/chart2/source/tools/ModifyListenerCallBack.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ModifyListenerCallBack.hxx"
#include "MutexContainer.hxx"
#include <cppuhelper/compbase1.hxx>
@@ -55,7 +54,6 @@ private:
Reference< util::XModifyBroadcaster > m_xBroadcaster;//broadcaster to listen at
};
-
ModifyListenerCallBack_impl::ModifyListenerCallBack_impl( const Link& rCallBack )
: ModifyListenerCallBack_Base( m_aMutex )
, m_aLink( rCallBack )
@@ -98,8 +96,6 @@ void ModifyListenerCallBack_impl::stopListening()
}
}
-//-------------------------------------------
-
ModifyListenerCallBack::ModifyListenerCallBack( const Link& rCallBack )
: pModifyListener_impl( new ModifyListenerCallBack_impl(rCallBack) )
, m_xModifyListener( pModifyListener_impl )
diff --git a/chart2/source/tools/ModifyListenerHelper.cxx b/chart2/source/tools/ModifyListenerHelper.cxx
index 359017940244..36c62ee7f9ff 100644
--- a/chart2/source/tools/ModifyListenerHelper.cxx
+++ b/chart2/source/tools/ModifyListenerHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ModifyListenerHelper.hxx"
#include "WeakListenerAdapter.hxx"
#include "macros.hxx"
@@ -85,8 +84,6 @@ private:
} // anonymous namespace
-// ================================================================================
-
namespace chart
{
namespace ModifyListenerHelper
diff --git a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
index 6ec2757e3a34..10eeaa5f3104 100644
--- a/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx
@@ -26,7 +26,6 @@
using namespace ::com::sun::star;
-
namespace chart
{
diff --git a/chart2/source/tools/NameContainer.cxx b/chart2/source/tools/NameContainer.cxx
index 130d277329f6..0a49fb2e6d4d 100644
--- a/chart2/source/tools/NameContainer.cxx
+++ b/chart2/source/tools/NameContainer.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "NameContainer.hxx"
#include <com/sun/star/uno/Any.hxx>
@@ -26,11 +25,8 @@ using namespace ::com::sun::star;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::uno::Any;
-
-//.............................................................................
namespace chart
{
-//.............................................................................
uno::Reference< container::XNameContainer > createNameContainer(
const ::com::sun::star::uno::Type& rType, const OUString& rServicename, const OUString& rImplementationName )
@@ -88,10 +84,6 @@ Sequence< OUString > SAL_CALL NameContainer::getSupportedServiceNames()
return aSNS;
}
-//-----------------------------------------------------------------
-//-----------------------------------------------------------------
-//-----------------------------------------------------------------
-
// XNameContainer
void SAL_CALL NameContainer::insertByName( const OUString& rName, const Any& rElement )
throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException )
@@ -101,8 +93,6 @@ void SAL_CALL NameContainer::insertByName( const OUString& rName, const Any& rEl
m_aMap.insert( tContentMap::value_type( rName, rElement ));
}
-
-
void SAL_CALL NameContainer::removeByName( const OUString& Name )
throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException)
{
@@ -169,8 +159,6 @@ uno::Reference< util::XCloneable > SAL_CALL NameContainer::createClone()
return uno::Reference< util::XCloneable >( new NameContainer( *this ));
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx
index 9a7db0691e5d..150153283b40 100644
--- a/chart2/source/tools/NumberFormatterWrapper.cxx
+++ b/chart2/source/tools/NumberFormatterWrapper.cxx
@@ -28,10 +28,8 @@
#include <i18nlangtag/mslangid.hxx>
#include <com/sun/star/util/DateTime.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
FixedNumberFormatter::FixedNumberFormatter(
@@ -52,10 +50,6 @@ OUString FixedNumberFormatter::getFormattedString( double fValue, sal_Int32& rLa
m_nNumberFormatKey, fValue, rLabelColor, rbColorChanged );
}
-//-----------------------------------------------------------------------
-//-----------------------------------------------------------------------
-//-----------------------------------------------------------------------
-
NumberFormatterWrapper::NumberFormatterWrapper( const uno::Reference< util::XNumberFormatsSupplier >& xSupplier )
: m_xNumberFormatsSupplier(xSupplier)
, m_pNumberFormatter(NULL)
@@ -141,8 +135,6 @@ OUString NumberFormatterWrapper::getFormattedString( sal_Int32 nNumberFormatKey,
return aText;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/OPropertySet.cxx b/chart2/source/tools/OPropertySet.cxx
index f244f955a894..db4efffd5057 100644
--- a/chart2/source/tools/OPropertySet.cxx
+++ b/chart2/source/tools/OPropertySet.cxx
@@ -183,7 +183,6 @@ Any SAL_CALL
return GetDefaultValue( rPH.getHandleByName( aPropertyName ) );
}
-
// ____ XMultiPropertyStates ____
// Note: getPropertyStates() is already implemented in XPropertyState with the
@@ -427,7 +426,6 @@ void SAL_CALL OPropertySet::setFastPropertyValue( sal_Int32 nHandle, const Any&
firePropertyChangeEvent();
}
-
} // namespace property
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index 2358057f95c5..9c09aab49727 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ObjectIdentifier.hxx"
#include "macros.hxx"
#include "TitleHelper.hxx"
@@ -39,10 +38,8 @@
#include <rtl/ustrbuf.hxx>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -340,7 +337,6 @@ OUString ObjectIdentifier::createClassifiedIdentifierForObject(
OUString aDragMethodServiceName;
OUString aDragParameterString;
-
try
{
//title
@@ -1435,8 +1431,6 @@ Any ObjectIdentifier::getAny() const
return aAny;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/PotentialRegressionCurveCalculator.cxx b/chart2/source/tools/PotentialRegressionCurveCalculator.cxx
index ef53b5dc4a55..31b42d8b2f1e 100644
--- a/chart2/source/tools/PotentialRegressionCurveCalculator.cxx
+++ b/chart2/source/tools/PotentialRegressionCurveCalculator.cxx
@@ -26,7 +26,6 @@
using namespace ::com::sun::star;
-
namespace chart
{
diff --git a/chart2/source/tools/PropertyHelper.cxx b/chart2/source/tools/PropertyHelper.cxx
index 6bbd33975523..96990b881bac 100644
--- a/chart2/source/tools/PropertyHelper.cxx
+++ b/chart2/source/tools/PropertyHelper.cxx
@@ -212,7 +212,6 @@ OUString addGradientUniqueNameToTable(
return OUString();
}
-
OUString addTransparencyGradientUniqueNameToTable(
const Any & rValue,
const Reference< lang::XMultiServiceFactory > & xFact,
@@ -264,8 +263,6 @@ OUString addBitmapUniqueNameToTable(
return OUString();
}
-// ----------------------------------------
-
void setPropertyValueAny( tPropertyValueMap & rOutMap, tPropertyValueMapKey key, const uno::Any & rAny )
{
tPropertyValueMap::iterator aIt( rOutMap.find( key ));
@@ -293,7 +290,6 @@ template<>
setPropertyValueDefaultAny( rOutMap, key, rAny );
}
-
void setEmptyPropertyValueDefault( tPropertyValueMap & rOutMap, tPropertyValueMapKey key )
{
setPropertyValueDefault( rOutMap, key, uno::Any());
diff --git a/chart2/source/tools/RangeHighlighter.cxx b/chart2/source/tools/RangeHighlighter.cxx
index 1d1a1d22edf8..bbe879f77ca5 100644
--- a/chart2/source/tools/RangeHighlighter.cxx
+++ b/chart2/source/tools/RangeHighlighter.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RangeHighlighter.hxx"
#include "WeakListenerAdapter.hxx"
#include "ChartModelHelper.hxx"
@@ -384,7 +383,6 @@ void RangeHighlighter::stopListening()
}
}
-
// ____ WeakComponentImplHelperBase ____
// is called when dispose() is called at this component
void SAL_CALL RangeHighlighter::disposing()
diff --git a/chart2/source/tools/ReferenceSizeProvider.cxx b/chart2/source/tools/ReferenceSizeProvider.cxx
index 9e41285f2afc..5e4fbb88e685 100644
--- a/chart2/source/tools/ReferenceSizeProvider.cxx
+++ b/chart2/source/tools/ReferenceSizeProvider.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ReferenceSizeProvider.hxx"
#include "RelativeSizeHelper.hxx"
#include "ChartModelHelper.hxx"
@@ -38,8 +37,6 @@ using namespace ::com::sun::star::chart2;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
-// ================================================================================
-
namespace chart
{
@@ -323,7 +320,6 @@ void ReferenceSizeProvider::toggleAutoResizeState()
setAutoResizeState( m_bUseAutoScale ? AUTO_RESIZE_NO : AUTO_RESIZE_YES );
}
-
/** sets the auto-resize at all objects that support this feature for text.
eNewState must be either AUTO_RESIZE_YES or AUTO_RESIZE_NO
*/
diff --git a/chart2/source/tools/RegressionCalculationHelper.hxx b/chart2/source/tools/RegressionCalculationHelper.hxx
index 4cf49663e678..462555719264 100644
--- a/chart2/source/tools/RegressionCalculationHelper.hxx
+++ b/chart2/source/tools/RegressionCalculationHelper.hxx
@@ -66,7 +66,6 @@ tDoubleVectorPair
return aResult;
}
-
class isValid : public ::std::binary_function< double, double, bool >
{
public:
diff --git a/chart2/source/tools/RegressionCurveCalculator.cxx b/chart2/source/tools/RegressionCurveCalculator.cxx
index 771cf763f974..d05fd44d6bfc 100644
--- a/chart2/source/tools/RegressionCurveCalculator.cxx
+++ b/chart2/source/tools/RegressionCurveCalculator.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RegressionCurveCalculator.hxx"
#include "RegressionCalculationHelper.hxx"
#include "servicenames_coosystems.hxx"
@@ -164,7 +163,6 @@ OUString SAL_CALL RegressionCurveCalculator::getFormattedRepresentation(
return ImplGetRepresentation( xNumFormatter, nNumberFormatKey );
}
-
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/RegressionCurveHelper.cxx b/chart2/source/tools/RegressionCurveHelper.cxx
index a3b3cc806ea1..d93fb6489206 100644
--- a/chart2/source/tools/RegressionCurveHelper.cxx
+++ b/chart2/source/tools/RegressionCurveHelper.cxx
@@ -80,10 +80,8 @@ OUString lcl_getServiceNameForType( ::chart::RegressionCurveHelper::tRegressionT
}
} // anonymous namespace
-//.............................................................................
namespace chart
{
-//.............................................................................
Reference< XRegressionCurve > RegressionCurveHelper::createMeanValueLine(
const Reference< XComponentContext > & xContext )
@@ -127,8 +125,6 @@ Reference< XRegressionCurve > RegressionCurveHelper::createRegressionCurveByServ
return xResult;
}
-// ------------------------------------------------------------
-
Reference< XRegressionCurveCalculator > RegressionCurveHelper::createRegressionCurveCalculatorByServiceName(
OUString aServiceName )
{
@@ -240,8 +236,6 @@ void RegressionCurveHelper::initializeCurveCalculator(
(nAxisType == AxisType::REALNUMBER) );
}
-// ----------------------------------------
-
bool RegressionCurveHelper::hasMeanValueLine(
const uno::Reference< XRegressionCurveContainer > & xRegCnt )
{
@@ -708,8 +702,6 @@ bool RegressionCurveHelper::hasEquation( const Reference< chart2::XRegressionCur
return bHasEquation;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/RegressionCurveModel.cxx b/chart2/source/tools/RegressionCurveModel.cxx
index c98d59226289..fb182c0a3d6e 100644
--- a/chart2/source/tools/RegressionCurveModel.cxx
+++ b/chart2/source/tools/RegressionCurveModel.cxx
@@ -313,8 +313,6 @@ void RegressionCurveModel::fireModifyEvent()
m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this )));
}
-// ================================================================================
-
// ____ OPropertySet ____
uno::Any RegressionCurveModel::GetDefaultValue( sal_Int32 nHandle ) const
throw(beans::UnknownPropertyException)
@@ -338,20 +336,14 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL RegressionCurveModel::getProp
return *StaticRegressionCurveInfo::get();
}
-// ================================================================================
-
// needed by MSC compiler
using impl::RegressionCurveModel_Base;
IMPLEMENT_FORWARD_XINTERFACE2( RegressionCurveModel, RegressionCurveModel_Base, OPropertySet )
IMPLEMENT_FORWARD_XTYPEPROVIDER2( RegressionCurveModel, RegressionCurveModel_Base, OPropertySet )
-
-
// implementations
-// --------------------------------------------------------------------------------
-
MeanValueRegressionCurve::MeanValueRegressionCurve(
const uno::Reference< uno::XComponentContext > & xContext )
: RegressionCurveModel( xContext, RegressionCurveModel::CURVE_TYPE_MEAN_VALUE )
@@ -378,8 +370,6 @@ uno::Reference< util::XCloneable > SAL_CALL MeanValueRegressionCurve::createClon
return uno::Reference< util::XCloneable >( new MeanValueRegressionCurve( *this ));
}
-// --------------------------------------------------------------------------------
-
LinearRegressionCurve::LinearRegressionCurve(
const uno::Reference< uno::XComponentContext > & xContext )
: RegressionCurveModel( xContext, RegressionCurveModel::CURVE_TYPE_LINEAR )
@@ -406,8 +396,6 @@ uno::Reference< util::XCloneable > SAL_CALL LinearRegressionCurve::createClone()
return uno::Reference< util::XCloneable >( new LinearRegressionCurve( *this ));
}
-// --------------------------------------------------------------------------------
-
LogarithmicRegressionCurve::LogarithmicRegressionCurve(
const uno::Reference< uno::XComponentContext > & xContext )
: RegressionCurveModel( xContext, RegressionCurveModel::CURVE_TYPE_LOGARITHM )
@@ -434,8 +422,6 @@ uno::Reference< util::XCloneable > SAL_CALL LogarithmicRegressionCurve::createCl
return uno::Reference< util::XCloneable >( new LogarithmicRegressionCurve( *this ));
}
-// --------------------------------------------------------------------------------
-
ExponentialRegressionCurve::ExponentialRegressionCurve(
const uno::Reference< uno::XComponentContext > & xContext )
: RegressionCurveModel( xContext, RegressionCurveModel::CURVE_TYPE_EXPONENTIAL )
@@ -462,8 +448,6 @@ uno::Reference< util::XCloneable > SAL_CALL ExponentialRegressionCurve::createCl
return uno::Reference< util::XCloneable >( new ExponentialRegressionCurve( *this ));
}
-// --------------------------------------------------------------------------------
-
PotentialRegressionCurve::PotentialRegressionCurve(
const uno::Reference< uno::XComponentContext > & xContext )
: RegressionCurveModel( xContext, RegressionCurveModel::CURVE_TYPE_POWER )
@@ -490,7 +474,6 @@ uno::Reference< util::XCloneable > SAL_CALL PotentialRegressionCurve::createClon
return uno::Reference< util::XCloneable >( new PotentialRegressionCurve( *this ));
}
-
PolynomialRegressionCurve::PolynomialRegressionCurve(
const uno::Reference< uno::XComponentContext > & xContext )
: RegressionCurveModel( xContext, RegressionCurveModel::CURVE_TYPE_POLYNOMIAL )
@@ -543,7 +526,6 @@ uno::Reference< util::XCloneable > SAL_CALL MovingAverageRegressionCurve::create
return uno::Reference< util::XCloneable >( new MovingAverageRegressionCurve( *this ));
}
-
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx
index e8bdfe9720d8..2093be4c65b1 100644
--- a/chart2/source/tools/RegressionEquation.cxx
+++ b/chart2/source/tools/RegressionEquation.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RegressionEquation.hxx"
#include "LinePropertiesHelper.hxx"
#include "FillProperties.hxx"
@@ -42,8 +41,6 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::beans::Property;
using ::osl::MutexGuard;
-// ____________________________________________________________
-
namespace
{
@@ -178,8 +175,6 @@ struct StaticRegressionEquationInfo : public rtl::StaticAggregate< uno::Referenc
} // anonymous namespace
-// ____________________________________________________________
-
namespace chart
{
@@ -200,7 +195,6 @@ RegressionEquation::RegressionEquation( const RegressionEquation & rOther ) :
RegressionEquation::~RegressionEquation()
{}
-
// ____ XCloneable ____
uno::Reference< util::XCloneable > SAL_CALL RegressionEquation::createClone()
throw (uno::RuntimeException)
@@ -285,8 +279,6 @@ void RegressionEquation::fireModifyEvent()
m_xModifyEventForwarder->modified( lang::EventObject( static_cast< uno::XWeak* >( this )));
}
-// --------------------------------------------------------------------------------
-
// ____ XTitle ____
uno::Sequence< uno::Reference< chart2::XFormattedString > > SAL_CALL RegressionEquation::getText()
throw (uno::RuntimeException)
@@ -307,8 +299,6 @@ void SAL_CALL RegressionEquation::setText( const uno::Sequence< uno::Reference<
fireModifyEvent();
}
-// ================================================================================
-
uno::Sequence< OUString > RegressionEquation::getSupportedServiceNames_Static()
{
const sal_Int32 nNumServices( 5 );
diff --git a/chart2/source/tools/RegressionEquation.hxx b/chart2/source/tools/RegressionEquation.hxx
index f3afbb6766cd..958504f484c8 100644
--- a/chart2/source/tools/RegressionEquation.hxx
+++ b/chart2/source/tools/RegressionEquation.hxx
@@ -78,7 +78,6 @@ protected:
getPropertySetInfo()
throw (::com::sun::star::uno::RuntimeException);
-
// ____ XCloneable ____
virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone()
throw (::com::sun::star::uno::RuntimeException);
diff --git a/chart2/source/tools/RelativePositionHelper.cxx b/chart2/source/tools/RelativePositionHelper.cxx
index 19506047a876..f195c837a841 100644
--- a/chart2/source/tools/RelativePositionHelper.cxx
+++ b/chart2/source/tools/RelativePositionHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "RelativePositionHelper.hxx"
#include <rtl/math.hxx>
@@ -120,7 +119,6 @@ chart2::RelativePosition RelativePositionHelper::getReanchoredPosition(
return aResult;
}
-
awt::Point RelativePositionHelper::getUpperLeftCornerOfAnchoredObject(
awt::Point aPoint
, awt::Size aObjectSize
diff --git a/chart2/source/tools/ResId.cxx b/chart2/source/tools/ResId.cxx
index ed4c80e41c8f..72a7b21ba21d 100644
--- a/chart2/source/tools/ResId.cxx
+++ b/chart2/source/tools/ResId.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ResId.hxx"
#include "ResourceManager.hxx"
#include <tools/string.hxx>
diff --git a/chart2/source/tools/ResourceManager.cxx b/chart2/source/tools/ResourceManager.cxx
index db7ea9d18dda..5016e14bef63 100644
--- a/chart2/source/tools/ResourceManager.cxx
+++ b/chart2/source/tools/ResourceManager.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ResourceManager.hxx"
#include <tools/resmgr.hxx>
diff --git a/chart2/source/tools/Scaling.cxx b/chart2/source/tools/Scaling.cxx
index 5dc408359749..7b710ceeeb7a 100644
--- a/chart2/source/tools/Scaling.cxx
+++ b/chart2/source/tools/Scaling.cxx
@@ -31,10 +31,8 @@ static const OUString lcl_aServiceName_Power( "com.sun.star.chart2.PowerScaling"
}
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -89,8 +87,6 @@ uno::Sequence< OUString > LogarithmicScaling::getSupportedServiceNames_Static()
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( LogarithmicScaling, lcl_aServiceName_Logarithmic )
-// ----------------------------------------
-
ExponentialScaling::ExponentialScaling( const uno::Reference< uno::XComponentContext > & xContext ) :
m_fBase( 10.0 ),
m_xContext( xContext )
@@ -140,8 +136,6 @@ uno::Sequence< OUString > ExponentialScaling::getSupportedServiceNames_Static()
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( ExponentialScaling, lcl_aServiceName_Exponential )
-// ----------------------------------------
-
LinearScaling::LinearScaling( const uno::Reference< uno::XComponentContext > & xContext ) :
m_fSlope( 1.0 ),
m_fOffset( 0.0 ),
@@ -193,8 +187,6 @@ uno::Sequence< OUString > LinearScaling::getSupportedServiceNames_Static()
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( LinearScaling, lcl_aServiceName_Linear )
-// ----------------------------------------
-
PowerScaling::PowerScaling( const uno::Reference< uno::XComponentContext > & xContext ) :
m_fExponent( 10.0 ),
m_xContext( xContext )
@@ -244,8 +236,6 @@ uno::Sequence< OUString > PowerScaling::getSupportedServiceNames_Static()
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( PowerScaling, lcl_aServiceName_Power )
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/SceneProperties.cxx b/chart2/source/tools/SceneProperties.cxx
index 8e86976501e8..3ab714c0cc26 100644
--- a/chart2/source/tools/SceneProperties.cxx
+++ b/chart2/source/tools/SceneProperties.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "SceneProperties.hxx"
#include "macros.hxx"
#include "ChartTypeHelper.hxx"
@@ -123,9 +122,7 @@ void SceneProperties::AddPropertiesToVector(
| beans::PropertyAttribute::MAYBEVOID
| beans::PropertyAttribute::MAYBEDEFAULT ));
-
// Light Sources
- // -------------
// light source 1
rOutProperties.push_back(
Property( "D3DSceneLightColor1",
@@ -337,7 +334,6 @@ void SceneProperties::AddDefaultsToMap(
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_SCENE_PERSPECTIVE, drawing::ProjectionMode_PERSPECTIVE );
// Light Sources
- // -------------
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_SCENE_LIGHT_ON_1, false );
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_SCENE_LIGHT_ON_2, true );
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_SCENE_LIGHT_ON_3, false );
diff --git a/chart2/source/tools/ThreeDHelper.cxx b/chart2/source/tools/ThreeDHelper.cxx
index 32406a57770b..47502c826e43 100644
--- a/chart2/source/tools/ThreeDHelper.cxx
+++ b/chart2/source/tools/ThreeDHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "ThreeDHelper.hxx"
#include "macros.hxx"
#include "DiagramHelper.hxx"
@@ -31,10 +30,8 @@
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -295,7 +292,6 @@ void lcl_setSimpleScheme( drawing::ShadeMode& rShadeMode
} //end anonymous namespace
-
drawing::CameraGeometry ThreeDHelper::getDefaultCameraGeometry( bool bPie )
{
// ViewReferencePoint (Point on the View plane)
@@ -1498,8 +1494,6 @@ CuboidPlanePosition ThreeDHelper::getAutomaticCuboidPlanePositionForStandardBott
return eRet;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/TitleHelper.cxx b/chart2/source/tools/TitleHelper.cxx
index a8a0b0074990..d55837e81ba0 100644
--- a/chart2/source/tools/TitleHelper.cxx
+++ b/chart2/source/tools/TitleHelper.cxx
@@ -26,10 +26,8 @@
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <rtl/ustrbuf.hxx>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using namespace ::com::sun::star::chart2;
@@ -53,7 +51,6 @@ uno::Reference< XTitled > lcl_getTitleParentFromDiagram(
nTitleIndex = bIsVertical ? TitleHelper::Y_AXIS_TITLE : TitleHelper::X_AXIS_TITLE;
}
-
switch( nTitleIndex )
{
case TitleHelper::SUB_TITLE:
@@ -358,8 +355,6 @@ bool TitleHelper::getTitleType( eTitleType& rType
return false;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/TrueGuard.cxx b/chart2/source/tools/TrueGuard.cxx
index 15fee52d0ef4..f8cb799897ae 100644
--- a/chart2/source/tools/TrueGuard.cxx
+++ b/chart2/source/tools/TrueGuard.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "TrueGuard.hxx"
namespace chart
diff --git a/chart2/source/tools/UncachedDataSequence.cxx b/chart2/source/tools/UncachedDataSequence.cxx
index 33c99e554f2c..aff3f2a13093 100644
--- a/chart2/source/tools/UncachedDataSequence.cxx
+++ b/chart2/source/tools/UncachedDataSequence.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "UncachedDataSequence.hxx"
#include "macros.hxx"
#include "PropertyHelper.hxx"
@@ -51,8 +50,6 @@ enum
};
} // anonymous namespace
-
-// ____________________
namespace chart
{
@@ -122,8 +119,6 @@ void UncachedDataSequence::registerProperties()
::getCppuType( & m_aXMLRange ) );
}
-// ================================================================================
-
Sequence< OUString > UncachedDataSequence::getSupportedServiceNames_Static()
{
Sequence< OUString > aServices( 4 );
@@ -145,14 +140,12 @@ Reference< beans::XPropertySetInfo > SAL_CALL UncachedDataSequence::getPropertyS
}
// ____ ::comphelper::OPropertySetHelper ____
-// __________________________________________
::cppu::IPropertyArrayHelper& UncachedDataSequence::getInfoHelper()
{
return *getArrayHelper();
}
// ____ ::comphelper::OPropertyArrayHelper ____
-// ____________________________________________
::cppu::IPropertyArrayHelper* UncachedDataSequence::createArrayHelper() const
{
Sequence< beans::Property > aProps;
@@ -165,8 +158,6 @@ Reference< beans::XPropertySetInfo > SAL_CALL UncachedDataSequence::getPropertyS
// implement XServiceInfo methods basing upon getSupportedServiceNames_Static
APPHELPER_XSERVICEINFO_IMPL( UncachedDataSequence, lcl_aServiceName )
-// ================================================================================
-
// ________ XNumericalDataSequence ________
Sequence< double > SAL_CALL UncachedDataSequence::getNumericalData()
throw (uno::RuntimeException)
@@ -215,7 +206,6 @@ OUString SAL_CALL UncachedDataSequence::getSourceRangeRepresentation()
return getName();
}
-
Sequence< OUString > SAL_CALL UncachedDataSequence::generateLabel( chart2::data::LabelOrigin )
throw (uno::RuntimeException)
{
@@ -294,8 +284,6 @@ void SAL_CALL UncachedDataSequence::setName( const OUString& aName )
fireModifyEvent();
}
-
-
Reference< util::XCloneable > SAL_CALL UncachedDataSequence::createClone()
throw (uno::RuntimeException)
{
@@ -303,7 +291,6 @@ Reference< util::XCloneable > SAL_CALL UncachedDataSequence::createClone()
return Reference< util::XCloneable >( pNewSeq );
}
-
// ____ XModifiable ____
::sal_Bool SAL_CALL UncachedDataSequence::isModified()
throw (uno::RuntimeException)
diff --git a/chart2/source/tools/UserDefinedProperties.cxx b/chart2/source/tools/UserDefinedProperties.cxx
index c145cb48edfe..9dc9093060e5 100644
--- a/chart2/source/tools/UserDefinedProperties.cxx
+++ b/chart2/source/tools/UserDefinedProperties.cxx
@@ -51,7 +51,6 @@ void UserDefinedProperties::AddPropertiesToVector(
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
// UserDefinedAttributesSupplier
- // ----------------------------
rOutProperties.push_back(
Property( "UserDefinedAttributes",
PROP_XML_USERDEF,
diff --git a/chart2/source/tools/WeakListenerAdapter.cxx b/chart2/source/tools/WeakListenerAdapter.cxx
index 0c8b9736c6aa..fc5429337d80 100644
--- a/chart2/source/tools/WeakListenerAdapter.cxx
+++ b/chart2/source/tools/WeakListenerAdapter.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "WeakListenerAdapter.hxx"
using namespace ::com::sun::star;
@@ -44,8 +43,6 @@ void SAL_CALL WeakModifyListenerAdapter::modified( const lang::EventObject& aEve
xModListener->modified( aEvent );
}
-// --------------------------------------------------------------------------------
-
WeakSelectionChangeListenerAdapter::WeakSelectionChangeListenerAdapter(
const Reference< view::XSelectionChangeListener > & xListener ) :
WeakListenerAdapter< ::com::sun::star::view::XSelectionChangeListener >( xListener )
diff --git a/chart2/source/tools/WrappedDefaultProperty.cxx b/chart2/source/tools/WrappedDefaultProperty.cxx
index 6304660930e2..3d3f02f932e5 100644
--- a/chart2/source/tools/WrappedDefaultProperty.cxx
+++ b/chart2/source/tools/WrappedDefaultProperty.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "WrappedDefaultProperty.hxx"
#include "macros.hxx"
diff --git a/chart2/source/tools/WrappedDirectStateProperty.cxx b/chart2/source/tools/WrappedDirectStateProperty.cxx
index 7ba667b355bf..edfbdafbf8e7 100644
--- a/chart2/source/tools/WrappedDirectStateProperty.cxx
+++ b/chart2/source/tools/WrappedDirectStateProperty.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "WrappedDirectStateProperty.hxx"
#include "macros.hxx"
diff --git a/chart2/source/tools/WrappedIgnoreProperty.cxx b/chart2/source/tools/WrappedIgnoreProperty.cxx
index 101fd03bd3fe..f01a70692323 100644
--- a/chart2/source/tools/WrappedIgnoreProperty.cxx
+++ b/chart2/source/tools/WrappedIgnoreProperty.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "WrappedIgnoreProperty.hxx"
#include "macros.hxx"
#include <com/sun/star/awt/Gradient.hpp>
@@ -33,11 +32,8 @@ using namespace ::com::sun::star;
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Reference;
-//.............................................................................
namespace chart
{
-//.............................................................................
-
WrappedIgnoreProperty::WrappedIgnoreProperty( const OUString& rOuterName, const Any& rDefaultValue )
: WrappedProperty( rOuterName, OUString() )
@@ -127,8 +123,6 @@ void WrappedIgnoreProperties::addIgnoreFillProperties_only_BitmapProperties( ::s
rList.push_back( new WrappedIgnoreProperty( "FillBitmapMode", uno::makeAny( drawing::BitmapMode_REPEAT ) ) );
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/WrappedProperty.cxx b/chart2/source/tools/WrappedProperty.cxx
index dd4d6e93a5ec..4a8f94b7912b 100644
--- a/chart2/source/tools/WrappedProperty.cxx
+++ b/chart2/source/tools/WrappedProperty.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "WrappedProperty.hxx"
#include "macros.hxx"
#include <com/sun/star/drawing/LineStyle.hpp>
@@ -26,11 +25,8 @@ using namespace ::com::sun::star;
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Reference;
-
-//.............................................................................
namespace chart
{
-//.............................................................................
WrappedProperty::WrappedProperty( const OUString& rOuterName, const OUString& rInnerName)
: m_aOuterName( rOuterName )
@@ -133,8 +129,6 @@ beans::PropertyState WrappedProperty::getPropertyState( const Reference< beans::
return aState;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx
index 07a0cdfc6147..b967bd128f69 100644
--- a/chart2/source/tools/WrappedPropertySet.cxx
+++ b/chart2/source/tools/WrappedPropertySet.cxx
@@ -17,17 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "WrappedPropertySet.hxx"
#include "macros.hxx"
// header for define DELETEZ
#include <tools/solar.h>
-//.............................................................................
namespace chart
{
-//.............................................................................
using namespace ::com::sun::star;
using ::com::sun::star::uno::Reference;
@@ -422,9 +419,6 @@ Sequence< Any > SAL_CALL WrappedPropertySet::getPropertyDefaults( const Sequence
return aRetSeq;
}
-//-----------------------------------------------------------------------------
-//-----------------------------------------------------------------------------
-
::cppu::IPropertyArrayHelper& WrappedPropertySet::getInfoHelper()
{
::cppu::OPropertyArrayHelper* p = m_pPropertyArrayHelper;
@@ -446,8 +440,6 @@ Sequence< Any > SAL_CALL WrappedPropertySet::getPropertyDefaults( const Sequence
return *m_pPropertyArrayHelper;
}
-//-----------------------------------------------------------------------------
-
tWrappedPropertyMap& WrappedPropertySet::getWrappedPropertyMap()
{
tWrappedPropertyMap* p = m_pWrappedPropertyMap;
@@ -494,8 +486,6 @@ tWrappedPropertyMap& WrappedPropertySet::getWrappedPropertyMap()
return *m_pWrappedPropertyMap;
}
-//.............................................................................
} //namespace chart
-//.............................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/XMLRangeHelper.cxx b/chart2/source/tools/XMLRangeHelper.cxx
index 387bfd0fa4c1..1f11eedb96a1 100644
--- a/chart2/source/tools/XMLRangeHelper.cxx
+++ b/chart2/source/tools/XMLRangeHelper.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "XMLRangeHelper.hxx"
#include <unotools/charclass.hxx>
#include <rtl/ustrbuf.hxx>
@@ -25,9 +24,6 @@
#include <algorithm>
#include <functional>
-
-// ================================================================================
-
namespace
{
/** unary function that escapes backslashes and single quotes in a sal_Unicode
@@ -53,8 +49,6 @@ private:
OUStringBuffer & m_aResultBuffer;
};
-// ----------------------------------------
-
/** unary function that removes backslash escapes in a sal_Unicode array (which
you can get from an OUString with getStr()) and puts the result into the
OUStringBuffer given in the CTOR
@@ -75,8 +69,6 @@ private:
OUStringBuffer & m_aResultBuffer;
};
-// ----------------------------------------
-
void lcl_getXMLStringForCell( const ::chart::XMLRangeHelper::Cell & rCell, OUStringBuffer * output )
{
OSL_ASSERT(output != 0);
@@ -291,8 +283,6 @@ bool lcl_getCellRangeAddressFromXMLString(
} // anonymous namespace
-// ================================================================================
-
namespace chart
{
namespace XMLRangeHelper
diff --git a/chart2/source/tools/_serviceregistration_tools.cxx b/chart2/source/tools/_serviceregistration_tools.cxx
index 80d52057c68c..42c38d6495b3 100644
--- a/chart2/source/tools/_serviceregistration_tools.cxx
+++ b/chart2/source/tools/_serviceregistration_tools.cxx
@@ -189,6 +189,5 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL charttools_component_getFactory(
pImplName, pServiceManager, pRegistryKey , g_entries_chart2_tools );
}
}
-//=========================================================================
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */