summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-19 13:27:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-19 15:37:03 +0200
commit8169c047116c0a418886d01066a21a6eb18d6549 (patch)
tree66d481cfced5870ce4eed31f2f2b727bc276bb17
parentac2c1fb821b45f2382a5104b4d98dc08061ae938 (diff)
Directly use OUStringBuffer::append overload taking a single sal_Unicode
Change-Id: Ibccde3ec84b0ea4e4af74122013229a1793f5ca5 Reviewed-on: https://gerrit.libreoffice.org/81128 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--opencl/source/openclconfig.cxx2
-rw-r--r--sc/source/ui/dbgui/asciiopt.cxx2
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/opencl/source/openclconfig.cxx b/opencl/source/openclconfig.cxx
index ed122749bc3a..643d9fc2a8a1 100644
--- a/opencl/source/openclconfig.cxx
+++ b/opencl/source/openclconfig.cxx
@@ -83,7 +83,7 @@ OUString getToken(const OUString& string, sal_Int32& index)
result.append(std::u16string_view(token).substr(i, p - i));
if (p < token.getLength() - 2)
{
- result.append(OUStringChar(token.copy(p+1, 2).toInt32(16)));
+ result.append(sal_Unicode(token.copy(p+1, 2).toInt32(16)));
i = p + 3;
}
else
diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index 70236bce8cbc..7ad7043e47df 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -71,7 +71,7 @@ static OUString lcl_decodeSepString( const OUString & rSepNums, bool & o_bMergeF
{
sal_Int32 nVal = aCode.toInt32();
if ( nVal )
- aFieldSeps.append(OUStringChar(nVal));
+ aFieldSeps.append(sal_Unicode(nVal));
}
}
while ( nPos >= 0 );
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index e72707c58cd8..02947cd3892c 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -115,7 +115,7 @@ static std::vector< OUString > getInfoFromInd( const OUString& aInd )
aNum += OUStringChar( pLine[i] );
}
- newItem.append( OUStringChar( aNum.toUInt32( 16 ) ) );
+ newItem.append( sal_Unicode( aNum.toUInt32( 16 ) ) );
pLine += 3;
}