diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-09-19 12:31:39 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-09-19 12:31:39 +0000 |
commit | 19f3d2e7d06414af8588a9042d0a3f064451b181 (patch) | |
tree | a25020b5b4762870048ef15e54ef0b7936d54ee0 /sc/source/ui/view/hdrcont.cxx | |
parent | d0c185b1f866a417ba79b6354f2510e76ece3d4a (diff) |
#74215# MouseButtonDown: call SelMouseMove to ensure the anchor is created
Diffstat (limited to 'sc/source/ui/view/hdrcont.cxx')
-rw-r--r-- | sc/source/ui/view/hdrcont.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx index 0422470374ea..fa6ec99512ea 100644 --- a/sc/source/ui/view/hdrcont.cxx +++ b/sc/source/ui/view/hdrcont.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hdrcont.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ssa $ $Date: 2002-09-17 09:42:05 $ + * last change: $Author: nn $ $Date: 2002-09-19 13:31:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -672,6 +672,11 @@ void __EXPORT ScHeaderControl::MouseButtonDown( const MouseEvent& rMEvt ) SetMarking( TRUE ); // muss vor SelMouseButtonDown sein pSelEngine->SelMouseButtonDown( rMEvt ); + // #74215# In column/row headers a simple click already is a selection. + // -> Call SelMouseMove to ensure CreateAnchor is called (and DestroyAnchor + // if the next click is somewhere else with Control key). + pSelEngine->SelMouseMove( rMEvt ); + if (IsMouseCaptured()) { // Tracking statt CaptureMouse, damit sauber abgebrochen werden kann |