Kaydet (Commit) 9dc3ce93 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS residcleanup (1.14.34); FILE MERGED

2007/02/20 19:38:31 pl 1.14.34.1: #i74635# get rid of global ResMgr
üst 4784c4cb
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: hdft.cxx,v $ * $RCSfile: hdft.cxx,v $
* *
* $Revision: 1.14 $ * $Revision: 1.15 $
* *
* last change: $Author: obo $ $Date: 2007-01-23 11:34:35 $ * last change: $Author: rt $ $Date: 2007-04-26 07:32:17 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -171,23 +171,23 @@ SvxFooterPage::SvxFooterPage( Window* pParent, const SfxItemSet& rAttr ) : ...@@ -171,23 +171,23 @@ SvxFooterPage::SvxFooterPage( Window* pParent, const SfxItemSet& rAttr ) :
SvxHFPage::SvxHFPage( Window* pParent, USHORT nResId, const SfxItemSet& rAttr, USHORT nSetId ) : SvxHFPage::SvxHFPage( Window* pParent, USHORT nResId, const SfxItemSet& rAttr, USHORT nSetId ) :
SfxTabPage( pParent, ResId( nResId, DIALOG_MGR() ), rAttr ), SfxTabPage( pParent, SVX_RES( nResId ), rAttr ),
aTurnOnBox ( this, ResId( CB_TURNON ) ), aTurnOnBox ( this, SVX_RES( CB_TURNON ) ),
aCntSharedBox ( this, ResId( CB_SHARED ) ), aCntSharedBox ( this, SVX_RES( CB_SHARED ) ),
aLMLbl ( this, ResId( FT_LMARGIN ) ), aLMLbl ( this, SVX_RES( FT_LMARGIN ) ),
aLMEdit ( this, ResId( ED_LMARGIN ) ), aLMEdit ( this, SVX_RES( ED_LMARGIN ) ),
aRMLbl ( this, ResId( FT_RMARGIN ) ), aRMLbl ( this, SVX_RES( FT_RMARGIN ) ),
aRMEdit ( this, ResId( ED_RMARGIN ) ), aRMEdit ( this, SVX_RES( ED_RMARGIN ) ),
aDistFT ( this, ResId( FT_DIST ) ), aDistFT ( this, SVX_RES( FT_DIST ) ),
aDistEdit ( this, ResId( ED_DIST ) ), aDistEdit ( this, SVX_RES( ED_DIST ) ),
aDynSpacingCB ( this, ResId( CB_DYNSPACING ) ), aDynSpacingCB ( this, SVX_RES( CB_DYNSPACING ) ),
aHeightFT ( this, ResId( FT_HEIGHT ) ), aHeightFT ( this, SVX_RES( FT_HEIGHT ) ),
aHeightEdit ( this, ResId( ED_HEIGHT ) ), aHeightEdit ( this, SVX_RES( ED_HEIGHT ) ),
aHeightDynBtn ( this, ResId( CB_HEIGHT_DYN ) ), aHeightDynBtn ( this, SVX_RES( CB_HEIGHT_DYN ) ),
aFrm ( this, ResId( FL_FRAME ) ), aFrm ( this, SVX_RES( FL_FRAME ) ),
aBspWin ( this, ResId( WN_BSP ) ), aBspWin ( this, SVX_RES( WN_BSP ) ),
aBackgroundBtn ( this, ResId( BTN_EXTRAS ) ), aBackgroundBtn ( this, SVX_RES( BTN_EXTRAS ) ),
nId ( nSetId ), nId ( nSetId ),
pBBSet ( NULL ), pBBSet ( NULL ),
...@@ -483,7 +483,7 @@ IMPL_LINK( SvxHFPage, TurnOnHdl, CheckBox *, pBox ) ...@@ -483,7 +483,7 @@ IMPL_LINK( SvxHFPage, TurnOnHdl, CheckBox *, pBox )
BOOL bDelete = TRUE; BOOL bDelete = TRUE;
if ( !bDisableQueryBox && pBox && aTurnOnBox.GetSavedValue() == TRUE ) if ( !bDisableQueryBox && pBox && aTurnOnBox.GetSavedValue() == TRUE )
bDelete = ( QueryBox( this, ResId( RID_SVXQBX_DELETE_HEADFOOT, DIALOG_MGR() ) ).Execute() == RET_YES ); bDelete = ( QueryBox( this, SVX_RES( RID_SVXQBX_DELETE_HEADFOOT ) ).Execute() == RET_YES );
if ( bDelete ) if ( bDelete )
{ {
...@@ -575,7 +575,7 @@ IMPL_LINK( SvxHFPage, BackgroundHdl, Button *, EMPTYARG ) ...@@ -575,7 +575,7 @@ IMPL_LINK( SvxHFPage, BackgroundHdl, Button *, EMPTYARG )
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
if(pFact) if(pFact)
{ {
SfxAbstractTabDialog* pDlg = pFact->CreateSvxBorderBackgroundDlg( this, *pBBSet, ResId(RID_SVXDLG_BBDLG),bEnableBackgroundSelector ); SfxAbstractTabDialog* pDlg = pFact->CreateSvxBorderBackgroundDlg( this, *pBBSet, RID_SVXDLG_BBDLG,bEnableBackgroundSelector );
DBG_ASSERT(pDlg, "Dialogdiet fail!");//CHINA001 DBG_ASSERT(pDlg, "Dialogdiet fail!");//CHINA001
if ( pDlg->Execute() == RET_OK && pDlg->GetOutputItemSet() ) if ( pDlg->Execute() == RET_OK && pDlg->GetOutputItemSet() )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment