summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-24 07:36:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-24 09:47:40 +0100
commita16b4676a53fdc94c63821cf14e7f24e0fe20959 (patch)
tree1c714bb3bac432f16b85f7427fab438fc9144493 /tools
parent2862d842b3ca24cbf8c882fb59b30edc330c5fde (diff)
convert ResStringArray to rtl::OUString
Change-Id: I51b86a10caa5da6e12583c2b22404b0d9282b13d
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/resary.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/inc/tools/resary.hxx b/tools/inc/tools/resary.hxx
index caa23d7b78f3..cf4d443daef5 100644
--- a/tools/inc/tools/resary.hxx
+++ b/tools/inc/tools/resary.hxx
@@ -48,10 +48,10 @@ class TOOLS_DLLPUBLIC ResStringArray : private boost::noncopyable
// ---------------------
struct ImplResStringItem
{
- XubString m_aStr;
+ rtl::OUString m_aStr;
long m_nValue;
- ImplResStringItem( const XubString& rStr, long nValue = 0 ) :
+ ImplResStringItem( const rtl::OUString& rStr, long nValue = 0 ) :
m_aStr( rStr ),
m_nValue( nValue )
{}
@@ -63,8 +63,8 @@ class TOOLS_DLLPUBLIC ResStringArray : private boost::noncopyable
ResStringArray( const ResId& rResId );
~ResStringArray();
- const XubString& GetString( sal_uInt32 nIndex ) const
- { return (nIndex < m_aStrings.size()) ? m_aStrings[nIndex].m_aStr : String::EmptyString(); }
+ const rtl::OUString GetString( sal_uInt32 nIndex ) const
+ { return (nIndex < m_aStrings.size()) ? m_aStrings[nIndex].m_aStr : rtl::OUString(); }
long GetValue( sal_uInt32 nIndex ) const
{ return (nIndex < m_aStrings.size()) ? m_aStrings[nIndex].m_nValue : -1; }
sal_uInt32 Count() const { return sal_uInt32(m_aStrings.size()); }