summaryrefslogtreecommitdiff
path: root/sw/inc/SwStyleNameMapper.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-07 13:43:44 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-08 23:25:27 +0200
commitdf7ffcdb022b0b30006aa8238ba4070eb4c64bd5 (patch)
tree520286d73c703606ce438e4eccd76dd1523e6131 /sw/inc/SwStyleNameMapper.hxx
parent642926b4b582f691ac4bc0d90fb3a73f64b91b4a (diff)
sw: convert some SwStyleNameMapper methods to OUString
Change-Id: I151678b2bf155a7561b4c4e4b2d9fd1f05930477
Diffstat (limited to 'sw/inc/SwStyleNameMapper.hxx')
-rw-r--r--sw/inc/SwStyleNameMapper.hxx26
1 files changed, 16 insertions, 10 deletions
diff --git a/sw/inc/SwStyleNameMapper.hxx b/sw/inc/SwStyleNameMapper.hxx
index 1c3d512fa2d4..60efad6536cf 100644
--- a/sw/inc/SwStyleNameMapper.hxx
+++ b/sw/inc/SwStyleNameMapper.hxx
@@ -121,26 +121,32 @@ protected:
*pFrameProgMap,
*pNumRuleProgMap;
- static void fillNameFromId ( sal_uInt16 nId, String &rName, bool bProgName );
- static const String& getNameFromId ( sal_uInt16 nId, const String &rName, bool bProgName );
+ static void fillNameFromId(sal_uInt16 nId, OUString &rName, bool bProgName);
+ static const OUString& getNameFromId(sal_uInt16 nId, const OUString &rName,
+ bool bProgName);
static const NameToIdHash& getHashTable ( SwGetPoolIdFromName, bool bProgName );
public:
// This gets the UI Name from the programmatic name
- static const String& GetUIName ( const String& rName, SwGetPoolIdFromName );
- static void FillUIName ( const String& rName, String& rFillName, SwGetPoolIdFromName, bool bDisambiguate = false );
+ static const OUString& GetUIName(const OUString& rName, SwGetPoolIdFromName);
+ static void FillUIName(const OUString& rName, OUString& rFillName,
+ SwGetPoolIdFromName, bool bDisambiguate = false);
// Get the programmatic Name from the UI name
- static const String& GetProgName ( const String& rName, SwGetPoolIdFromName );
- static void FillProgName ( const String& rName, String& rFillName, SwGetPoolIdFromName, bool bDisambiguate = false );
+ static const OUString& GetProgName(const OUString& rName,
+ SwGetPoolIdFromName);
+ static void FillProgName(const OUString& rName, OUString& rFillName,
+ SwGetPoolIdFromName, bool bDisambiguate = false);
// This gets the UI Name from the Pool ID
- SW_DLLPUBLIC static void FillUIName ( sal_uInt16 nId, String& rFillName );
- SW_DLLPUBLIC static const String& GetUIName ( sal_uInt16 nId, const String& rName );
+ SW_DLLPUBLIC static void FillUIName(sal_uInt16 nId, OUString& rFillName);
+ SW_DLLPUBLIC static const OUString& GetUIName(sal_uInt16 nId,
+ const OUString& rName);
// This gets the programmatic Name from the Pool ID
- static void FillProgName( sal_uInt16 nId, String& rFillName );
- SW_DLLPUBLIC static const String& GetProgName ( sal_uInt16 nId, const String& rName );
+ static void FillProgName(sal_uInt16 nId, OUString& rFillName);
+ SW_DLLPUBLIC static const OUString& GetProgName(sal_uInt16 nId,
+ const OUString& rName);
// This gets the PoolId from the UI Name
SW_DLLPUBLIC static sal_uInt16 GetPoolIdFromUIName( const String& rName, SwGetPoolIdFromName );