diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-07-19 15:59:17 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-07-19 15:59:17 +0000 |
commit | 4e696e996d8c8724b78efc4ced93327b99e126a7 (patch) | |
tree | 216b4e7b45427b99adffd942a723a2c677cb42cf /sw/source/ui/table | |
parent | 79a5d432ecb31cc4a06648986bbd10533ebe5815 (diff) |
#89999# use the static methods in the new SwStyleNameMapper class for Programmatic Name <-> UI Name <-> Pool Id conversion
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index a67ad88eb5bd..3d6b3b4820f2 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tabledlg.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: os $ $Date: 2001-06-19 11:53:05 $ + * last change: $Author: mtg $ $Date: 2001-07-19 16:58:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -167,7 +167,9 @@ #include <table.hrc> #endif #include <algorithm> - +#ifndef _SWSTYLENAMEMAPPER_HXX +#include <SwStyleNameMapper.hxx> +#endif #ifdef DEBUG_TBLDLG void DbgTblRep(SwTableRep* pRep) @@ -1816,7 +1818,7 @@ void SwTextFlowPage::Reset( const SfxItemSet& rSet ) for(i = RES_POOLPAGE_BEGIN; i <= RES_POOLPAGE_REGISTER; ++i) { - String aFmtName; GetDocPoolNm( i, aFmtName ); + String aFmtName; SwStyleNameMapper::GetUIName( i, aFmtName ); if( LISTBOX_ENTRY_NOTFOUND == aPageCollLB.GetEntryPos( aFmtName )) aPageCollLB.InsertEntry( aFmtName ); } |