diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-05-10 14:58:13 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-05-10 14:58:13 +0000 |
commit | 904ba937dc31e20908a5b1929ee0b506285789f4 (patch) | |
tree | 4d64047ab5d0cfb024c415039f6ed6b661f28778 /sc/source/ui/docshell/arealink.cxx | |
parent | 3bb98ae586d25b25fa2492088f1d440c4b607aad (diff) |
INTEGRATION: CWS dialogdiet01 (1.16.38); FILE MERGED
2004/04/22 01:25:17 mwu 1.16.38.1: dialogdiet01_2004_04_22
Diffstat (limited to 'sc/source/ui/docshell/arealink.cxx')
-rw-r--r-- | sc/source/ui/docshell/arealink.cxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/arealink.cxx b/sc/source/ui/docshell/arealink.cxx index 561f2dc86175..9c35164de8c0 100644 --- a/sc/source/ui/docshell/arealink.cxx +++ b/sc/source/ui/docshell/arealink.cxx @@ -2,9 +2,9 @@ * * $RCSfile: arealink.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: kz $ $Date: 2004-01-28 13:27:56 $ + * last change: $Author: hr $ $Date: 2004-05-10 15:58:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -86,12 +86,14 @@ #include "markdata.hxx" #include "hints.hxx" #include "htmlimp.hxx" -#include "linkarea.hxx" // dialog +//CHINA001 #include "linkarea.hxx" // dialog #include "attrib.hxx" // raus, wenn ResetAttrib am Dokument #include "patattr.hxx" // raus, wenn ResetAttrib am Dokument #include "docpool.hxx" // raus, wenn ResetAttrib am Dokument +#include "sc.hrc" //CHINA001 +#include "scabstdlg.hxx" //CHINA001 TYPEINIT1(ScAreaLink,::so3::SvBaseLink); //------------------------------------------------------------------------ @@ -129,7 +131,12 @@ BOOL __EXPORT ScAreaLink::Edit(Window* pParent) // ein Optionen-Dialog kommt... BOOL bRet = FALSE; - ScLinkedAreaDlg* pDlg = new ScLinkedAreaDlg( pParent ); + //CHINA001 ScLinkedAreaDlg* pDlg = new ScLinkedAreaDlg( pParent ); + ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); + DBG_ASSERT(pFact, "ScAbstractFactory create fail!");//CHINA001 + + AbstractScLinkedAreaDlg* pDlg = pFact->CreateScLinkedAreaDlg( pParent, ResId(RID_SCDLG_LINKAREA)); + DBG_ASSERT(pDlg, "Dialog create fail!");//CHINA001 pDlg->InitFromOldLink( aFileName, aFilterName, aOptions, aSourceArea, GetRefreshDelay() ); if (pDlg->Execute() == RET_OK) { |