diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-04-20 11:40:26 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-04-20 11:40:26 +0000 |
commit | 82f849d15dccfbf2c4a5509bf1b7ac8372a97f3b (patch) | |
tree | 5d4e09f133080668311f2472ac2eb1763597f732 /sc | |
parent | 2862157312e7c98ca2cc8e46eacfb4bc4f1da335 (diff) |
#85281# TestMouse: don't start AutoFill if ole object is active
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 5d0a8e9271f3..853251b59e35 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: gridwin.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: dr $ $Date: 2001-04-05 10:52:34 $ + * last change: $Author: nn $ $Date: 2001-04-20 12:40:26 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1101,7 +1101,10 @@ BOOL ScGridWindow::TestMouse( const MouseEvent& rMEvt, BOOL bAction ) BOOL bNewPointer = FALSE; - if (pViewData->IsActive()) + SfxInPlaceClient* pClient = pViewData->GetViewShell()->GetIPClient(); + BOOL bOleActive = ( pClient && pClient->IsInPlaceActive() ); + + if ( pViewData->IsActive() && !bOleActive ) { // Auto-Fill |