summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer/passwordcontainer.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /svl/source/passwordcontainer/passwordcontainer.cxx
parent75f41baab6ce75786a91fe461835ee16a23ec18e (diff)
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'svl/source/passwordcontainer/passwordcontainer.cxx')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index ddef32e9c020..cc739fb4657a 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -61,12 +61,12 @@ static OUString createIndex( vector< OUString > lines )
{
if (comphelper::string::isalnumAscii(*pLine))
{
- aResult += OString::valueOf( *pLine );
+ aResult += OString( *pLine );
}
else
{
aResult += OString("_");
- aResult += OString::valueOf( (sal_Int32) *pLine, 16 );
+ aResult += OString::number( *pLine, 16 );
}
pLine++;
@@ -95,7 +95,7 @@ static vector< OUString > getInfoFromInd( OUString aInd )
while( *pLine && !( pLine[0] == '_' && pLine[1] == '_' ))
if( *pLine != '_' )
{
- newItem += OUString::valueOf( (sal_Unicode) *pLine );
+ newItem += OUString( (sal_Unicode) *pLine );
pLine++;
}
else
@@ -112,10 +112,10 @@ static vector< OUString > getInfoFromInd( OUString aInd )
return aResult;
}
- aNum += OUString::valueOf( (sal_Unicode) pLine[i] );
+ aNum += OUString( (sal_Unicode) pLine[i] );
}
- newItem += OUString::valueOf( (sal_Unicode) aNum.toUInt32( 16 ) );
+ newItem += OUString( (sal_Unicode) aNum.toUInt32( 16 ) );
pLine += 3;
}