diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-30 15:29:32 +0200 |
commit | 4d21c085e6acdc6b61d0e890ebcabeb4a4b8151e (patch) | |
tree | 095dc3b099d0ce523ce40739a953f08ae12334bd | |
parent | d7beb36e94a65f7cfea44b964aa7fbd2a734937b (diff) |
loplugin:stringconstant: adapt to improved OUStringLiteral1 (svtools)
Change-Id: Ifdfc684ea894e637617de845facbad645ed6331c
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/langtab.cxx | 2 | ||||
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 30e13de34141..43156a5d9860 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -872,7 +872,7 @@ void ViewTabListBox_Impl::DoQuickSearch( sal_Unicode rChar ) bool bFound = mpParent->SearchNextEntry( mnSearchIndex, maQuickSearchText, false ); if ( !bFound && ( aLastText.getLength() == 1 ) && - ( aLastText == OUString(rChar) ) ) + ( aLastText == OUStringLiteral1(rChar) ) ) { mnSearchIndex = aLastPos + 1; maQuickSearchText = aLastText; diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 7fc2b0f1bc24..b40f2626b238 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -442,7 +442,7 @@ void SvtMatchContext_Impl::ReadFolder( const OUString& rURL, // folders should get a final slash automatically if ( bIsFolder ) - aInput += OUString(aDelimiter); + aInput += OUStringLiteral1(aDelimiter); Insert( aInput, aObj.GetMainURL( INetURLObject::NO_DECODE ), true ); } diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx index 120c82643462..3540c316e472 100644 --- a/svtools/source/misc/langtab.cxx +++ b/svtools/source/misc/langtab.cxx @@ -119,7 +119,7 @@ const OUString ApplyLreOrRleEmbedding( const OUString &rText ) OUString aRes( rText ); if (bFound) { - aRes = OUString(cStart) + aRes + aRes = OUStringLiteral1(cStart) + aRes + OUStringLiteral1(cPopDirectionalFormat); } diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index 99d9e38d5e84..285718db2a95 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -470,7 +470,7 @@ static OString lcl_ConvertCharToHTML( sal_Unicode c, .append(';'); if( pNonConvertableChars && -1 == pNonConvertableChars->indexOf( c ) ) - (*pNonConvertableChars) += OUString(c); + (*pNonConvertableChars) += OUStringLiteral1(c); } } return aDest.makeStringAndClear(); |