diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-18 18:40:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-19 09:13:23 +0100 |
commit | bd4f553ef03b45b4126314fa8287f933988575ea (patch) | |
tree | 976a9895e9f08e0b84baeec5bd993316ae003182 /sc | |
parent | 2e4c6b51699362252d0bbdc27e0311c68e2ab21b (diff) |
remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/lotus/lotform.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/qpro/qproform.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/lotform.cxx b/sc/source/filter/lotus/lotform.cxx index 2678f09e166f..6fbd929bed0f 100644 --- a/sc/source/filter/lotus/lotform.cxx +++ b/sc/source/filter/lotus/lotform.cxx @@ -84,7 +84,7 @@ void LotusToSc::DoFunc( DefTokenId eOc, sal_uInt8 nAnz, const sal_Char* pExtStri if( eOc == ocNoName ) { bAddIn = sal_True; - nMerk0 = aPool.Store( eOc, String( t, eSrcChar ) ); + nMerk0 = aPool.Store(eOc, rtl::OStringToOUString(t, eSrcChar)); aPool << nMerk0; } diff --git a/sc/source/filter/qpro/qproform.cxx b/sc/source/filter/qpro/qproform.cxx index e9f5dece0ed1..a68d439fcee5 100644 --- a/sc/source/filter/qpro/qproform.cxx +++ b/sc/source/filter/qpro/qproform.cxx @@ -103,7 +103,7 @@ void QProToSc::DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtStr { rtl::OStringBuffer s(RTL_CONSTASCII_STRINGPARAM("QPRO_")); s.append(pExtString); - nPush = aPool.Store( eOc, String(s.makeStringAndClear(), maIn.GetStreamCharSet()) ); + nPush = aPool.Store(eOc, rtl::OStringToOUString(s.makeStringAndClear(), maIn.GetStreamCharSet())); aPool << nPush; } else |