summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2000-11-27 07:51:30 +0000
committerNiklas Nebel <nn@openoffice.org>2000-11-27 07:51:30 +0000
commitaf57ff62e1fa35fb8ebb87a4f3afd0a7a7b979fc (patch)
tree2dc1fc731569a1bffa5dc0f47fd0a07ca7d912aa /sc/source/ui/view
parentb644c840c5eab04aad56012e9cce451489881f5d (diff)
#80425# new character tab pages
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/editsh.cxx16
1 files changed, 4 insertions, 12 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index ca16802ddbff..06eea7e0fa24 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: editsh.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: nn $ $Date: 2000-11-24 20:14:43 $
+ * last change: $Author: nn $ $Date: 2000-11-27 08:49:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -113,6 +113,7 @@
#include "namepast.hxx"
#include "reffind.hxx"
#include "tabvwsh.hxx"
+#include "textdlgs.hxx"
#define ScEditShell
#include "scslots.hxx"
@@ -335,17 +336,8 @@ void ScEditShell::Execute( SfxRequest& rReq )
SfxItemSet aAttrs( pTableView->GetAttribs() );
SfxObjectShell* pObjSh = pViewData->GetSfxDocShell();
- const SvxFontListItem* pFontListItem =
- (const SvxFontListItem*) pObjSh->GetItem( SID_ATTR_CHAR_FONTLIST);
-
- SfxSingleTabDialog* pDlg
- = new SfxSingleTabDialog( pViewData->GetViewShell()->GetViewFrame(),
- pViewData->GetDialogParent(),
- aAttrs, RID_SCDLG_EDITCHAR, FALSE );
- SfxTabPage* pPage = SvxCharStdPage::Create( pDlg, aAttrs );
- ((SvxCharStdPage*)pPage)->SetFontList( *pFontListItem );
- pDlg->SetTabPage( pPage );
+ ScCharDlg* pDlg = new ScCharDlg( pViewData->GetDialogParent(), &aAttrs, pObjSh );
short nRet = pDlg->Execute();
// pDlg is needed below