incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1352085 - /incubator/ooo/trunk/main/chart2/source/controller/main/ChartController.cxx
Date Wed, 20 Jun 2012 13:15:24 GMT
Author: alg
Date: Wed Jun 20 13:15:23 2012
New Revision: 1352085

URL: http://svn.apache.org/viewvc?rev=1352085&view=rev
Log:
#119999# Single ESC to leave Chart OLE mode after creation. Patch by: Tan Li, Review by: alg

Modified:
    incubator/ooo/trunk/main/chart2/source/controller/main/ChartController.cxx

Modified: incubator/ooo/trunk/main/chart2/source/controller/main/ChartController.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/chart2/source/controller/main/ChartController.cxx?rev=1352085&r1=1352084&r2=1352085&view=diff
==============================================================================
--- incubator/ooo/trunk/main/chart2/source/controller/main/ChartController.cxx (original)
+++ incubator/ooo/trunk/main/chart2/source/controller/main/ChartController.cxx Wed Jun 20
13:15:23 2012
@@ -598,8 +598,9 @@ void SAL_CALL ChartController::modeChang
         xMBroadcaster->addModifyListener( this );
 #endif
 
-    //select chart area per default:
-    select( uno::makeAny( ObjectIdentifier::createClassifiedIdentifier( OBJECTTYPE_PAGE,
rtl::OUString() ) ) );
+    // #119999# 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,
rtl::OUString() ) ) );
 
     uno::Reference< lang::XMultiServiceFactory > xFact( getModel(), uno::UNO_QUERY
);
 	if( xFact.is())



Mime
View raw message