diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2003-09-25 09:50:58 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2003-09-25 09:50:58 +0000 |
commit | 5151f058fe8724a33f283457351b848818a2090a (patch) | |
tree | b4c66595824d62d831b6cec774e0830a13fbc92b /sw/source/ui | |
parent | 536eeff458880e630d47034f2984cd8d889552ff (diff) |
INTEGRATION: CWS os20 (1.11.206); FILE MERGED
2003/09/12 12:15:33 os 1.11.206.1: #i16370# create temporary SfxItemSet to meet requirements of SfxTabPage::FillItemSet()
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/misc/docfnote.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx index aed3d39d9276..cd214cffc24e 100644 --- a/sw/source/ui/misc/docfnote.cxx +++ b/sw/source/ui/misc/docfnote.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docfnote.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: vg $ $Date: 2003-04-17 15:35:22 $ + * last change: $Author: hjs $ $Date: 2003-09-25 10:50:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -153,13 +153,13 @@ SwFootNoteOptionDlg::~SwFootNoteOptionDlg() IMPL_LINK( SwFootNoteOptionDlg, OkHdl, Button *, pBtn ) { - SfxItemSet *pSet = 0; + SfxItemSet aDummySet(rSh.GetAttrPool(), 1, 1 ); SfxTabPage *pPage = GetTabPage( TP_FOOTNOTEOPTION ); if ( pPage ) - pPage->FillItemSet( (SfxItemSet&)pSet ); + pPage->FillItemSet( aDummySet ); pPage = GetTabPage( TP_ENDNOTEOPTION ); if ( pPage ) - pPage->FillItemSet( (SfxItemSet&)pSet ); + pPage->FillItemSet( aDummySet ); aOldOkHdl.Call( pBtn ); return 0; } @@ -490,7 +490,7 @@ SwCharFmt* lcl_GetCharFormat( SwWrtShell* pSh, const String& rCharFmtName ) return pFmt; } -BOOL SwEndNoteOptionPage::FillItemSet( SfxItemSet &rSet ) +BOOL SwEndNoteOptionPage::FillItemSet( SfxItemSet & ) { SwEndNoteInfo *pInf = bEndNote ? new SwEndNoteInfo() : new SwFtnInfo(); |