diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-08-23 08:08:56 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-08-23 08:08:56 +0000 |
commit | 48ec709bb96bf7ff5b51ad57bc33b1779204789c (patch) | |
tree | ca07235c44198815b6e996f60536dfde338f2555 /sw/source/ui/table | |
parent | 098e677281176576e8f8f27fe7f67def90dbce00 (diff) |
INTEGRATION: CWS tune03 (1.7.82); FILE MERGED
2004/07/19 19:11:43 mhu 1.7.82.1: #i29979# Added SW_DLLPUBLIC/PRIVATE (see swdllapi.h) to exported symbols/classes.
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r-- | sw/source/ui/table/convert.cxx | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx index b3c445912d4b..28f6466e2ce4 100644 --- a/sw/source/ui/table/convert.cxx +++ b/sw/source/ui/table/convert.cxx @@ -2,9 +2,9 @@ * * $RCSfile: convert.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: hr $ $Date: 2004-05-10 16:37:51 $ + * last change: $Author: rt $ $Date: 2004-08-23 09:08:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -60,6 +60,10 @@ ************************************************************************/ +#ifdef SW_DLLIMPLEMENTATION +#undef SW_DLLIMPLEMENTATION +#endif + #pragma hdrstop #ifndef _SV_MSGBOX_HXX //autogen @@ -93,6 +97,12 @@ #include "table.hrc" #include "convert.hrc" #include "swabstdlg.hxx" //CHINA001 + +namespace swui +{ + SwAbstractDialogFactory * GetFactory(); +} + //keep the state of the buttons on runtime static int nSaveButtonState = -1; // 0: tab, 1: semicolon, 2: paragraph, 3: other, -1: not yet used static sal_Bool bIsKeepColumn = sal_True; @@ -255,7 +265,7 @@ SwConvertTableDlg:: ~SwConvertTableDlg() IMPL_LINK( SwConvertTableDlg, AutoFmtHdl, PushButton*, pButton ) { //CHINA001 SwAutoFormatDlg aDlg( pButton, pShell, FALSE, pTAutoFmt ); - SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();//CHINA001 + SwAbstractDialogFactory* pFact = swui::GetFactory();//CHINA001 DBG_ASSERT(pFact, "SwAbstractDialogFactory fail!");//CHINA001 AbstractSwAutoFormatDlg* pDlg = pFact->CreateSwAutoFormatDlg(pButton, pShell,ResId( DLG_AUTOFMT_TABLE ), FALSE, pTAutoFmt); |