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/fmtui | |
parent | dae447f97115acb00f77ab98770f70159fd43bbe (diff) |
Bug #90441#: change GetUIName to FillUIName or use GetUIName in the correct way
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 2d920c34e2ea..11eb3651cc3b 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tmpdlg.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: mtg $ $Date: 2001-07-20 10:19:50 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:01:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -468,8 +468,9 @@ const SfxItemSet* SwTemplateDlg::GetRefreshedSet() void SwTemplateDlg::PageCreated( USHORT nId, SfxTabPage &rPage ) { //Namen der Vorlagen und Metric setzen - String sNumCharFmt; SwStyleNameMapper::GetUIName( RES_POOLCHR_NUM_LEVEL, sNumCharFmt); - String sBulletCharFmt; SwStyleNameMapper::GetUIName( RES_POOLCHR_BUL_LEVEL, sBulletCharFmt); + String sNumCharFmt, sBulletCharFmt; + SwStyleNameMapper::FillUIName( RES_POOLCHR_NUM_LEVEL, sNumCharFmt); + SwStyleNameMapper::FillUIName( RES_POOLCHR_BUL_LEVEL, sBulletCharFmt); switch( nId ) { @@ -573,7 +574,7 @@ void SwTemplateDlg::PageCreated( USHORT nId, SfxTabPage &rPage ) { List aList; String* pNew = new String; - SwStyleNameMapper::GetUIName( RES_POOLCOLL_TEXT, *pNew ); + SwStyleNameMapper::FillUIName( RES_POOLCOLL_TEXT, *pNew ); aList.Insert( pNew, (ULONG)0 ); if( pWrtShell ) { |