chart2/source/controller/main/ChartController.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 97f1db8cdb645ab906b469452cc2dd82f7e06913 Author: Armin Le Grand <a...@apache.org> Date: Wed Jun 20 12:15:23 2012 +0000 Resolves: #i119999# Single ESC to leave Chart OLE mode after creation Patch by: Tan Li Review by: alg (cherry picked from commit a3677e22a4c4ea24d2a66cefcae0872e94e1c1ea) Conflicts: chart2/source/controller/main/ChartController.cxx Change-Id: I2e87bd49ec750026ad74ca0256b63ba5f4228355 diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 02f071d..a98803a 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -581,8 +581,9 @@ sal_Bool SAL_CALL ChartController::attachModel( const uno::Reference< frame::XMo xMBroadcaster->addModifyListener( this ); #endif - //select chart area per default: - select( uno::makeAny( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_PAGE, OUString() ) ) ); + // #i119999# Do not do this per default to allow the user to deselect the chart OLE with a single press to ESC + // select chart area per default: + // select( uno::makeAny( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_PAGE, OUString() ) ) ); uno::Reference< lang::XMultiServiceFactory > xFact( getModel(), uno::UNO_QUERY ); if( xFact.is()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits