summaryrefslogtreecommitdiff
path: root/sw/source/ui/frmdlg/pattern.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 10:52:39 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 10:52:39 +0000
commitf68c3d1ccefdf7b1123d36c0fd00f40b33193473 (patch)
treec8f4e54c066eedd401f8bfa94cc7917a7b9a1108 /sw/source/ui/frmdlg/pattern.cxx
parentf62654bd99a26ab0df1de85d1a5fb010690d86f3 (diff)
INTEGRATION: CWS swwarnings (1.7.222); FILE MERGED
2007/04/13 12:18:00 tl 1.7.222.2: #i69287# binfilter related comments removed 2007/02/27 09:03:48 os 1.7.222.1: #i69287# warnings removed
Diffstat (limited to 'sw/source/ui/frmdlg/pattern.cxx')
-rw-r--r--sw/source/ui/frmdlg/pattern.cxx17
1 files changed, 6 insertions, 11 deletions
diff --git a/sw/source/ui/frmdlg/pattern.cxx b/sw/source/ui/frmdlg/pattern.cxx
index 8f250a05aef0..38f5cecd3a73 100644
--- a/sw/source/ui/frmdlg/pattern.cxx
+++ b/sw/source/ui/frmdlg/pattern.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pattern.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 23:02:42 $
+ * last change: $Author: hr $ $Date: 2007-09-27 11:52:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -42,11 +42,8 @@
-//CHINA001 #ifndef _SVX_BACKGRND_HXX //autogen
-//CHINA001 #include <svx/backgrnd.hxx>
-//CHINA001 #endif
-#include <svx/svxdlg.hxx> //CHINA001
-#include <svx/dialogs.hrc> //CHINA001
+#include <svx/svxdlg.hxx>
+#include <svx/dialogs.hrc>
#include "swtypes.hxx"
#include "pattern.hxx"
#include "frmui.hrc"
@@ -64,14 +61,12 @@ SwBackgroundDlg::SwBackgroundDlg(Window* pParent, const SfxItemSet& rSet) :
{
SetText(SW_RESSTR(STR_FRMUI_PATTERN));
- //CHINA001 SetTabPage(SvxBackgroundTabPage::Create(this, rSet));
SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create();
- DBG_ASSERT(pFact, "Dialogdiet fail!");//CHINA001
+ DBG_ASSERT(pFact, "Dialogdiet fail!");
::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_BACKGROUND );
if ( fnCreatePage )
{
- SfxTabPage* pPage = (*fnCreatePage)( this, rSet );
- SetTabPage(pPage);
+ SetTabPage((*fnCreatePage)( this, rSet ));
}
}