diff options
author | Armin Le Grand <alg@apache.org> | 2012-06-20 12:15:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-11 20:26:43 +0100 |
commit | 97f1db8cdb645ab906b469452cc2dd82f7e06913 (patch) | |
tree | 28bd36b7d7c23d5d6a63188111352a864d0d43ab /chart2 | |
parent | 17a3a44f8949b2e37d45338f5c5702d0bb20f4a7 (diff) |
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
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 02f071dce1b7..a98803a85be4 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()) |