summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 17:11:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:16 +0100
commitf5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch)
treecda73db2df15d821e0587f345edd7587953bdbdf /chart2/source
parentecf00403376d13355fcf6fb7cd36b3500f19fc69 (diff)
Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/tools/LifeTime.cxx4
-rw-r--r--chart2/source/view/axes/VAxisProperties.cxx4
-rw-r--r--chart2/source/view/main/ChartView.cxx4
-rw-r--r--chart2/source/view/main/PlottingPositionHelper.cxx2
-rw-r--r--chart2/source/view/main/PropertyMapper.cxx2
5 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx
index 0263451df025..6c01913ce9d0 100644
--- a/chart2/source/tools/LifeTime.cxx
+++ b/chart2/source/tools/LifeTime.cxx
@@ -259,7 +259,7 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
void CloseableLifeTimeManager
::g_close_endTryClose(sal_Bool bDeliverOwnership, sal_Bool /* bMyVeto */ )
{
- //this method is called, if the try to close was not successfull
+ //this method is called, if the try to close was not successful
osl::Guard< osl::Mutex > aGuard( m_aAccessMutex );
impl_setOwnership( bDeliverOwnership, sal_False );
@@ -303,7 +303,7 @@ bool CloseableLifeTimeManager::impl_isDisposedOrClosed( bool bAssert )
void CloseableLifeTimeManager
::g_close_endTryClose_doClose()
{
- //this method is called, if the try to close was successfull
+ //this method is called, if the try to close was successful
osl::ResettableGuard< osl::Mutex > aGuard( m_aAccessMutex );
m_bInTryClose = sal_False;
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index 2ebe0f10652d..3a7c866fbfb8 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -64,8 +64,8 @@ sal_Int32 lcl_calcTickLengthForDepth(sal_Int32 nDepth,sal_Int32 nTickmarkStyle)
double lcl_getTickOffset(sal_Int32 nLength,sal_Int32 nTickmarkStyle)
{
double fPercent = 0.0; //0<=fPercent<=1
- //0.0: completly inner
- //1.0: completly outer
+ //0.0: completely inner
+ //1.0: completely outer
//0.5: half and half
/*
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index ff00660ac9b8..250021c8c5c6 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -1462,7 +1462,7 @@ awt::Rectangle ChartView::impl_createDiagramAndContent( SeriesPlotterContainer&
pVCooSys->setTransformationSceneToScreen( B3DHomMatrixToHomogenMatrix(
createTransformationSceneToScreen( aVDiagram.getCurrentRectangle() ) ));
}
- pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be neccessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
+ pVCooSys->updatePositions();//todo: logically this belongs to the condition above, but it seems also to be necessary to give the axes group shapes the right bounding rects for hit test - probably caused by bug i106183 -> check again if fixed
}
//create axes and grids for the final size
@@ -2438,7 +2438,7 @@ void ChartView::createShapes()
.getOrCreateChartRootShape( m_xDrawPage ) );
SdrPage* pPage = ChartView::getSdrPage();
- if(pPage) //it is neccessary to use the implementation here as the uno page does not provide a propertyset
+ if(pPage) //it is necessary to use the implementation here as the uno page does not provide a propertyset
pPage->SetSize(Size(aPageSize.Width,aPageSize.Height));
else
{
diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx
index 931a92880b13..76c2bc9ac78c 100644
--- a/chart2/source/view/main/PlottingPositionHelper.cxx
+++ b/chart2/source/view/main/PlottingPositionHelper.cxx
@@ -211,7 +211,7 @@ awt::Point PlottingPositionHelper::transformSceneToScreenPosition( const drawing
//@todo would like to have a cheaper method to do this transformation
awt::Point aScreenPoint( static_cast<sal_Int32>(rScenePosition3D.PositionX), static_cast<sal_Int32>(rScenePosition3D.PositionY) );
- //transformation from scene to screen (only neccessary for 3D):
+ //transformation from scene to screen (only necessary for 3D):
if(3==nDimensionCount)
{
//create 3D anchor shape
diff --git a/chart2/source/view/main/PropertyMapper.cxx b/chart2/source/view/main/PropertyMapper.cxx
index b022a92435d5..08bc546fe16d 100644
--- a/chart2/source/view/main/PropertyMapper.cxx
+++ b/chart2/source/view/main/PropertyMapper.cxx
@@ -366,7 +366,7 @@ void PropertyMapper::setMultiProperties(
}
catch( const uno::Exception& e )
{
- ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completly for better performance
+ ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completely for better performance
}
if(!bSuccess)