summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 14:54:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 14:54:00 +0000
commit4a3ed963fbd703d0f3f297ff38e211f33cc50f96 (patch)
tree739bde01dafea9afaddefc19cbc670ac49efd202 /extensions
parent624f729fc2aa45979d088792223d9e92685e5d54 (diff)
INTEGRATION: CWS dialogdiet01 (1.59.12); FILE MERGED
2004/04/08 01:45:19 mwu 1.59.12.1: DialogDiet 2004_04_08
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/formcontroller.cxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index 139228af0c48..6bd71e9ab31b 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: formcontroller.cxx,v $
*
- * $Revision: 1.63 $
+ * $Revision: 1.64 $
*
- * last change: $Author: hr $ $Date: 2004-05-10 13:43:30 $
+ * last change: $Author: hr $ $Date: 2004-05-10 15:54:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -340,6 +340,8 @@
#define TEXTTYPE_MULTILINE 1
#define TEXTTYPE_RICHTEXT 2
+#include <svx/svxdlg.hxx> //CHINA001
+#include <svx/dialogs.hrc> //CHINA001
//............................................................................
namespace pcr
{
@@ -904,7 +906,14 @@ namespace pcr
// a tab dialog with a single page
SfxSingleTabDialog* pDlg = new SfxSingleTabDialog( getDialogParent(), aCoreSet, 0 );
- SvxNumberFormatTabPage* pPage = (SvxNumberFormatTabPage*) SvxNumberFormatTabPage::Create(pDlg, aCoreSet);
+ //CHINA001 SvxNumberFormatTabPage* pPage = (SvxNumberFormatTabPage*) SvxNumberFormatTabPage::Create(pDlg, aCoreSet);
+ //add by CHINA001 begin
+ SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); //CHINA001
+ DBG_ASSERT(pFact, "CreateFactory fail!");
+ ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc(RID_SVXPAGE_NUMBERFORMAT);
+ DBG_ASSERT(fnCreatePage, "Dialogdiet error!");//CHINA001
+ SfxTabPage* pPage = (*fnCreatePage)( pDlg, aCoreSet );
+ // end by CHINA001
const SfxPoolItem& rInfoItem = pPage->GetItemSet().Get(SID_ATTR_NUMBERFORMAT_INFO);
pDlg->SetTabPage(pPage);