diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-27 17:01:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-28 16:45:48 +0100 |
commit | 5efc15f0006866ac4c422c1b2bde173ded47893f (patch) | |
tree | 119b46339aae67b9a5b1a76ea2a955a548e5016e /include | |
parent | e39a959429234aef5348a8b5800b27c29de02a6f (diff) |
reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/StringListResource.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/tools/StringListResource.hxx b/include/tools/StringListResource.hxx index 52f22e48a8ef..dd61dadf02bc 100644 --- a/include/tools/StringListResource.hxx +++ b/include/tools/StringListResource.hxx @@ -34,8 +34,7 @@ namespace tools sal_uInt16 i = 1; while( IsAvailableRes(ResId(i,*m_pResMgr).SetRT(RSC_STRING)) ) { - String sStr = String(ResId(i,*m_pResMgr)); - _rToFill.push_back(sStr); + _rToFill.push_back(ResId(i,*m_pResMgr).toString()); ++i; } } |