diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-07-24 16:21:44 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-07-24 16:21:44 +0000 |
commit | 01e1357705265547b3f94f492830f1df8b3e2de3 (patch) | |
tree | 6aaf69b514d57376ecb75b13b90791c2367e5044 /sw/inc/SwStyleNameMapper.hxx | |
parent | 045b90c6097a36100133dd2a81817d229d90cb0b (diff) |
#90133# remove ambiguous interfaces
Diffstat (limited to 'sw/inc/SwStyleNameMapper.hxx')
-rw-r--r-- | sw/inc/SwStyleNameMapper.hxx | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx index d2d2c6128dff..c282c7a5ec5b 100644 --- a/sw/inc/SwStyleNameMapper.hxx +++ b/sw/inc/SwStyleNameMapper.hxx @@ -2,9 +2,9 @@ * * $RCSfile: SwStyleNameMapper.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mtg $ $Date: 2001-07-19 18:02:54 $ + * last change: $Author: mtg $ $Date: 2001-07-24 17:21:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -208,23 +208,22 @@ protected: const SwTableEntry *pTable, sal_uInt8 nCount); - static String& getNameFromId ( sal_uInt16 nId, String &rName, sal_Bool bProgName ); + static void fillNameFromId ( sal_uInt16 nId, String &rName, sal_Bool bProgName ); static const String& getNameFromId ( sal_uInt16 nId, const String &rName, sal_Bool bProgName ); static const NameToIdHash& getHashTable ( SwGetPoolIdFromName, sal_Bool bProgName ); public: // This gets the UI Name from the programmatic name - static String& GetUIName ( String& rFillName, SwGetPoolIdFromName ); static const String& GetUIName ( const String& rName, SwGetPoolIdFromName ); - // This gets the UI Name from the Pool ID - static String& GetUIName ( sal_uInt16 nId, String& rFillName ); - static const String& GetUIName ( sal_uInt16 nId, const String& rName ); - // Get the programmatic Name from the UI name - static String& GetProgName( String& rName, SwGetPoolIdFromName ); static const String& GetProgName( const String& rName, SwGetPoolIdFromName ); + + // This gets the UI Name from the Pool ID + static void FillUIName ( sal_uInt16 nId, String& rFillName ); + static const String& GetUIName ( sal_uInt16 nId, const String& rName ); + // This gets the programmatic Name from the Pool ID - static String& GetProgName( sal_uInt16 nId, String& rFillName ); - static const String& GetProgName( sal_uInt16 nId, const String& rName ); + static void FillProgName( sal_uInt16 nId, String& rFillName ); + static const String& GetProgName ( sal_uInt16 nId, const String& rName ); // This gets the PoolId from the UI Name static sal_uInt16 GetPoolIdFromUIName( const String& rName, SwGetPoolIdFromName ); |