From 9f27e5b0e0df0fafbd9e3ba32a5b740d3ffba975 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sun, 19 Jul 2015 01:58:13 +0200 Subject: Fix typos Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard --- chart2/source/controller/main/ChartController_Window.cxx | 2 +- chart2/source/controller/main/SelectionHelper.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 57addb83d0f8..7c44d85975da 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -858,7 +858,7 @@ void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt ) bool bClickedTwiceOnDragableObject = SelectionHelper::isDragableObjectHitTwice( aMPos, m_aSelection.getSelectedCID(), *pDrawViewWrapper ); bool bIsRotateable = m_aSelection.isRotateableObjectSelected( getModel() ); - //toggel between move and rotate + //toggle between move and rotate if( bIsRotateable && bClickedTwiceOnDragableObject && SDRDRAG_MOVE==m_eDragMode ) m_eDragMode=SDRDRAG_ROTATE; else diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx index c6da54051ce9..dd9090d4fc06 100644 --- a/chart2/source/controller/main/SelectionHelper.cxx +++ b/chart2/source/controller/main/SelectionHelper.cxx @@ -162,7 +162,7 @@ void Selection::adaptSelectionToNewPos( const Point& rMousePos, DrawViewWrapper* { if( pDrawViewWrapper ) { - //do not toggel multiclick selection if right clicked on the selected object or waiting for double click + //do not toggle multiclick selection if right clicked on the selected object or waiting for double click bool bAllowMultiClickSelectionChange = !bIsRightMouse && !bWaitingForDoubleClick; ObjectIdentifier aLastSelectedObject( m_aSelectedOID ); -- cgit v1.2.3