diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-07-23 12:00:52 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-07-23 12:00:52 +0000 |
commit | 13e0433080dd984602f2b0f89954d478f37d2765 (patch) | |
tree | 9e4eeea60e9d4ce987077cf9e29c82b7f2fefb04 /sc | |
parent | 1cca4f9fef8950dde40ed83058101e77838b68f1 (diff) |
INTEGRATION: CWS tableoptions (1.26.36); FILE MERGED
2004/07/05 17:07:55 nn 1.26.36.1: #i25111# table options, drill to details
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index 3b638e01391b..037fd3f8d592 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -2,9 +2,9 @@ * * $RCSfile: cellsh.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: obo $ $Date: 2004-06-04 11:57:35 $ + * last change: $Author: hr $ $Date: 2004-07-23 13:00:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -814,12 +814,22 @@ void ScCellShell::GetState(SfxItemSet &rSet) } break; case SID_OUTLINE_SHOW: - if (!pTabViewShell->OutlinePossible(FALSE)) + if ( GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), + GetViewData()->GetCurY(), GetViewData()->GetTabNo() ) ) + { + //! test for data pilot operation + } + else if (!pTabViewShell->OutlinePossible(FALSE)) rSet.DisableItem( nWhich ); break; case SID_OUTLINE_HIDE: - if (!pTabViewShell->OutlinePossible(TRUE)) + if ( GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), + GetViewData()->GetCurY(), GetViewData()->GetTabNo() ) ) + { + //! test for data pilot operation + } + else if (!pTabViewShell->OutlinePossible(TRUE)) rSet.DisableItem( nWhich ); break; |