summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-12-17 19:10:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-12-17 19:10:47 +0000
commitf8446d08725192856eb3e031b33f86f1c1bd3bbe (patch)
treeadf94deb9725669c0515691270a19c6f1d271472 /sc
parent2160c4dcc2defd54bac25ea5005a851c9517331d (diff)
INTEGRATION: CWS geordi2q11 (1.5.366); FILE MERGED
2003/12/15 16:47:45 hr 1.5.366.1: #111934#: join CWS calc20
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabcont.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 27440708e0b9..52d026f90b4b 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tabcont.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: nn $ $Date: 2001-05-04 14:32:15 $
+ * last change: $Author: vg $ $Date: 2003-12-17 20:10:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -400,7 +400,8 @@ void __EXPORT ScTabControl::Command( const CommandEvent& rCEvt )
}
*/
// Popup-Menu:
- pViewSh->GetDispatcher()->ExecutePopup( ScResId(RID_POPUP_TAB) );
+ // get Dispatcher from ViewData (ViewFrame) instead of Shell (Frame), so it can't be null
+ pViewData->GetDispatcher().ExecutePopup( ScResId(RID_POPUP_TAB) );
}
}
}