diff options
author | jp <jp@openoffice.org> | 2001-07-31 15:04:55 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-07-31 15:04:55 +0000 |
commit | 06baa0d3c72d2481dfa1ae3caa127ce4fae02603 (patch) | |
tree | 1d8b703331c3be29e6cb0f83a256c0b89261efa8 /sw/source/ui/misc/docfnote.cxx | |
parent | dae447f97115acb00f77ab98770f70159fd43bbe (diff) |
Bug #90441#: change GetUIName to FillUIName or use GetUIName in the correct way
Diffstat (limited to 'sw/source/ui/misc/docfnote.cxx')
-rw-r--r-- | sw/source/ui/misc/docfnote.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx index a0903df374d3..c378c2167172 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.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mtg $ $Date: 2001-07-19 16:55:14 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:04:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -304,7 +304,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet& ) } String sStr; - SwStyleNameMapper::GetUIName( bEndNote ? RES_POOLCOLL_ENDNOTE + SwStyleNameMapper::FillUIName( bEndNote ? RES_POOLCOLL_ENDNOTE : RES_POOLCOLL_FOOTNOTE, sStr ); if(LISTBOX_ENTRY_NOTFOUND == aParaTemplBox.GetEntryPos( sStr ) ) aParaTemplBox.InsertEntry( sStr ); @@ -327,7 +327,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet& ) // Seite for( USHORT i = RES_POOLPAGE_BEGIN; i <= RES_POOLPAGE_ENDNOTE; ++i ) - aPageTemplBox.InsertEntry(SwStyleNameMapper::GetUIName( i, sStr )); + aPageTemplBox.InsertEntry(SwStyleNameMapper::GetUIName( i, aEmptyStr )); USHORT nCount = pSh->GetPageDescCnt(); for(i = 0; i < nCount; ++i) @@ -541,6 +541,9 @@ SfxTabPage *SwFootNoteOptionPage::Create(Window *pParent, const SfxItemSet &rSet /*------------------------------------------------------------------------ $Log: not supported by cvs2svn $ + Revision 1.7 2001/07/19 16:55:14 mtg + #89999# use the static methods in the new SwStyleNameMapper class for Programmatic Name <-> UI Name <-> Pool Id conversion + Revision 1.6 2001/07/02 11:52:55 os #85609# dont allow counting by chapter an positon at end of document |