diff options
Diffstat (limited to 'chart2/source/controller')
4 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx index fad41f051074..8a3da3f60436 100644 --- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx +++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx @@ -240,7 +240,7 @@ void DrawViewWrapper::MarkObject( SdrObject* pObj ) if( m_pMarkHandleProvider ) bFrameDragSingles = m_pMarkHandleProvider->getFrameDragSingles(); - this->SetFrameDragSingles(bFrameDragSingles);//decide wether each single object should get handles + this->SetFrameDragSingles(bFrameDragSingles);//decide whether each single object should get handles this->SdrView::MarkObj( pObj, this->GetPageView() ); this->showMarkHandles(); } diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 4b285dc640ec..54345303f9f5 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -250,7 +250,7 @@ const short HITPIX=2; //hit-tolerance in pixel Size aLogicSize = m_pChartWindow->PixelToLogic( Size( Width, Height ), MapMode( MAP_100TH_MM ) ); bool bIsEmbedded = true; - //todo: for standalone chart: detect wether we are standalone + //todo: for standalone chart: detect whether we are standalone if( bIsEmbedded ) { //change map mode to fit new size diff --git a/chart2/source/controller/main/PositionAndSizeHelper.cxx b/chart2/source/controller/main/PositionAndSizeHelper.cxx index 61b4c305b8c7..ad046b5e37d8 100644 --- a/chart2/source/controller/main/PositionAndSizeHelper.cxx +++ b/chart2/source/controller/main/PositionAndSizeHelper.cxx @@ -61,7 +61,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType if( OBJECTTYPE_TITLE==eObjectType ) { - //@todo decide wether x is primary or secondary + //@todo decide whether x is primary or secondary chart2::RelativePosition aRelativePosition; aRelativePosition.Anchor = drawing::Alignment_CENTER; //the anchor point at the title object is top/middle @@ -72,7 +72,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType } else if( OBJECTTYPE_DATA_CURVE_EQUATION==eObjectType ) { - //@todo decide wether x is primary or secondary + //@todo decide whether x is primary or secondary chart2::RelativePosition aRelativePosition; aRelativePosition.Anchor = drawing::Alignment_TOP_LEFT; //the anchor point at the title object is top/middle @@ -113,7 +113,7 @@ bool PositionAndSizeHelper::moveObject( ObjectType eObjectType } else if(OBJECTTYPE_DIAGRAM==eObjectType || OBJECTTYPE_DIAGRAM_WALL==eObjectType || OBJECTTYPE_DIAGRAM_FLOOR==eObjectType) { - //@todo decide wether x is primary or secondary + //@todo decide whether x is primary or secondary //set position: chart2::RelativePosition aRelativePosition; diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx index 256354a6c3e3..644ab36ff235 100644 --- a/chart2/source/controller/main/SelectionHelper.cxx +++ b/chart2/source/controller/main/SelectionHelper.cxx @@ -273,7 +273,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper* m_aSelectedOID = ObjectIdentifier( aPageCID ); } - //check wether the diagram was hit but not selected (e.g. because it has no filling): + //check whether the diagram was hit but not selected (e.g. because it has no filling): rtl::OUString aDiagramCID = ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM, rtl::OUString::valueOf( sal_Int32(0) ) ); rtl::OUString aWallCID( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_DIAGRAM_WALL, rtl::OUString() ) );//@todo read CID from model bool bBackGroundHit = m_aSelectedOID.getObjectCID().equals( aPageCID ) || m_aSelectedOID.getObjectCID().equals( aWallCID ) || !m_aSelectedOID.isAutoGeneratedObject(); @@ -290,7 +290,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper* } } } - //check wether the legend was hit but not selected (e.g. because it has no filling): + //check whether the legend was hit but not selected (e.g. because it has no filling): if( bBackGroundHit || m_aSelectedOID.getObjectCID().equals( aDiagramCID ) ) { rtl::OUString aLegendCID( ObjectIdentifier::createClassifiedIdentifierForParticle( ObjectIdentifier::createParticleForLegend(0,0) ) );//@todo read CID from model @@ -560,7 +560,7 @@ SdrObject* SelectionHelper::getObjectToMark() E3dScene* SelectionHelper::getSceneToRotate( SdrObject* pObj ) { - //search wether the object or one of its children is a 3D object + //search whether the object or one of its children is a 3D object //if so, return the accessory 3DScene E3dObject* pRotateable = 0; |