diff options
Diffstat (limited to 'chart2/source')
5 files changed, 5 insertions, 6 deletions
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx index 675147362b8a..c2310d3372b2 100644 --- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx +++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx @@ -87,7 +87,7 @@ public: */ ::com::sun::star::awt::Size GetPageSize() const; - /** calculates the current axes title sizes and substract that space them from the given recangle + /** calculates the current axes title sizes and subtract that space them from the given recangle */ ::com::sun::star::awt::Rectangle SubstractAxisTitleSizes( const ::com::sun::star::awt::Rectangle& rPositionRect ); diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index 5e27717b8dc2..1f598f75fda4 100644 --- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -997,7 +997,7 @@ void ChartDocumentWrapper::impl_resetAddIn() { try { - //make sure that the add-in does not hold a refernce to us anymore: + //make sure that the add-in does not hold a references to us anymore: Reference< lang::XComponent > xComp( xAddIn, uno::UNO_QUERY ); if( xComp.is()) xComp->dispose(); diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx index 8ce7e2889535..724c078ae30a 100644 --- a/chart2/source/controller/dialogs/DataBrowserModel.cxx +++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx @@ -404,7 +404,7 @@ void DataBrowserModel::insertDataSeries( sal_Int32 nAfterColumnIndex ) } if( nSeriesNumberFormat != 0 ) { - //give the new series the same number format as the former series especially for bubble charts thus the bubble size values can be edited with same format immidiately + //give the new series the same number format as the former series especially for bubble charts thus the bubble size values can be edited with same format immediately Reference< beans::XPropertySet > xNewSeriesProps( xNewSeries, uno::UNO_QUERY ); if( xNewSeriesProps.is() ) xNewSeriesProps->setPropertyValue( "NumberFormat" , uno::makeAny( nSeriesNumberFormat ) ); diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx index e04418c16092..d04d3b06215b 100644 --- a/chart2/source/view/diagram/VDiagram.cxx +++ b/chart2/source/view/diagram/VDiagram.cxx @@ -355,7 +355,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize ) lcl_ensureScaleValue(fScaleX); } else - fScaleX = 1.0;//looking from top or bottom hieght is irrelevant + fScaleX = 1.0;//looking from top or bottom height is irrelevant } else { @@ -399,7 +399,7 @@ void VDiagram::adjustAspectRatio3d( const awt::Size& rAvailableSize ) lcl_ensureScaleValue(fScaleX); } else - fScaleX = 1.0;//looking from top or bottom hieght is irrelevant + fScaleX = 1.0;//looking from top or bottom height is irrelevant } else { diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 77db5f99ade1..88c31039b7e6 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -883,7 +883,6 @@ void SeriesPlotterContainer::setScalesFromCooSysToPlotter() void SeriesPlotterContainer::setNumberFormatsFromAxes() { //set numberformats to plotter to enable them to display the data labels in the numberformat of the axis - ::std::vector< VSeriesPlotter* >::const_iterator aPlotterIter = m_aSeriesPlotterList.begin(); const ::std::vector< VSeriesPlotter* >::const_iterator aPlotterEnd = m_aSeriesPlotterList.end(); for( aPlotterIter = m_aSeriesPlotterList.begin(); aPlotterIter != aPlotterEnd; ++aPlotterIter ) |