diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-03 16:24:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-05 08:54:52 +0200 |
commit | b7b50269c3c4cbcd9228bb614577a7699e0ad664 (patch) | |
tree | 35c2a6f53ab4d11691a3da78445d6a1d56f5bab8 /svx | |
parent | 2ba105223cdf3a8df21a3368b8dfe506a8f885e8 (diff) |
convert include/svx/ParseContext.hxx from String to OUString
Change-Id: I0e7c003ea86dc7b3e9f698e1abd9a246d26d76e9
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/inc/stringlistresource.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/inc/stringlistresource.hxx b/svx/source/inc/stringlistresource.hxx index c38ae72b9bf1..5c918a0e924c 100644 --- a/svx/source/inc/stringlistresource.hxx +++ b/svx/source/inc/stringlistresource.hxx @@ -43,21 +43,21 @@ namespace svx SVX_DLLPUBLIC StringListResource( const ResId& _rResId ); SVX_DLLPUBLIC ~StringListResource(); - inline void get( ::std::vector< String >& _rStrings ) + inline void get( ::std::vector< OUString >& _rStrings ) { _rStrings = m_aStrings; } - /** returns the String with a given local resource id + /** returns the OUString with a given local resource id @param _nResId The resource id. It will not be checked if this id exists. - @return String + @return OUString The string. */ - String getString( sal_uInt16 _nResId ) + OUString getString( sal_uInt16 _nResId ) { return ResId(_nResId, *m_pResMgr).toString(); } @@ -65,10 +65,10 @@ namespace svx size_t size() const { return m_aStrings.size(); } bool empty() const { return m_aStrings.empty(); } - const String& operator[]( size_t _index ) const { return m_aStrings[ _index ]; } + const OUString& operator[]( size_t _index ) const { return m_aStrings[ _index ]; } private: - ::std::vector< String > m_aStrings; + ::std::vector< OUString > m_aStrings; }; //........................................................................ |