diff options
author | Gregor Hartmann <gh <Gregor Hartmann<gh@openoffice.org> | 2010-06-04 13:26:01 +0200 |
---|---|---|
committer | Gregor Hartmann <gh <Gregor Hartmann<gh@openoffice.org> | 2010-06-04 13:26:01 +0200 |
commit | e7638a7e6461f971cfde4b99fd9e246537a2f222 (patch) | |
tree | 4f0a8b50b47398111b1dc5c1e18765714b3267e6 /automation | |
parent | 6b17f4b6bc3a08591c62ee79147cffaad9d72020 (diff) |
#i111784# call hooks after selecting in tabelcontrol
Diffstat (limited to 'automation')
-rw-r--r-- | automation/source/server/statemnt.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx index 2d1cccd9fc51..6a04c85c66de 100644 --- a/automation/source/server/statemnt.cxx +++ b/automation/source/server/statemnt.cxx @@ -6282,6 +6282,8 @@ protected: MouseEvent aMEvnt(aPos,1,MOUSE_SIMPLECLICK|MOUSE_SELECT,MOUSE_LEFT,KEY_MOD1); pTC->getSelEngine()->SelMouseButtonDown( aMEvnt ); pTC->getSelEngine()->SelMouseButtonUp( aMEvnt ); + if ( pTC->IsRowSelected( nNr1-1 ) ) + pTC->Select(); } else ReportError( aUId, GEN_RES_STR2c2( S_METHOD_FAILED, MethodString( nMethodId ), "find pos" ) ); |