[Libreoffice-commits] core.git: chart2/source

Armin Le Grand alg at apache.org
Sat May 11 12:28:48 PDT 2013


 chart2/source/controller/main/ChartController.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 97f1db8cdb645ab906b469452cc2dd82f7e06913
Author: Armin Le Grand <alg at 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())


More information about the Libreoffice-commits mailing list