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 /unotools | |
parent | 2e4c6b51699362252d0bbdc27e0311c68e2ab21b (diff) |
remove some UniString ctors
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/i18n/textsearch.cxx | 2 | ||||
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx index cabbba4ca136..c541790b40b8 100644 --- a/unotools/source/i18n/textsearch.cxx +++ b/unotools/source/i18n/textsearch.cxx @@ -291,7 +291,7 @@ void TextSearch::ReplaceBackReferences( String& rReplaceStr, const String &rStr, { if( rResult.subRegExpressions > 0 ) { - String sTab( '\t' ); + rtl::OUString sTab( '\t' ); sal_Unicode sSrchChrs[] = {'\\', '&', '$', 0}; String sTmp; xub_StrLen nPos = 0; diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index ed1979319184..6b634cb76529 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -468,7 +468,7 @@ String TempFile::SetTempNameBaseDirectory( const String &rBaseName ) bRet = sal_True; ::rtl::OUString &rTempNameBase_Impl = TempNameBase_Impl::get(); rTempNameBase_Impl = rBaseName; - rTempNameBase_Impl += String( '/' ); + rTempNameBase_Impl += rtl::OUString('/'); TempFile aBase( NULL, sal_True ); if ( aBase.IsValid() ) |