summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-30 15:29:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-30 15:29:26 +0200
commitd7beb36e94a65f7cfea44b964aa7fbd2a734937b (patch)
tree8dc00b3363759aae6ab6f8adde7fe7bce3e94322 /svl/source/passwordcontainer
parentf5a99c3748b9221ae58e38f85d549deeef425abb (diff)
loplugin:stringconstant: adapt to improved OUStringLiteral1 (svl)
Change-Id: I5b9c503fd28209b893688e81ddd00eb843b44e37
Diffstat (limited to 'svl/source/passwordcontainer')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 3971ed06d06d..d5be5b4be774 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -97,7 +97,7 @@ static vector< OUString > getInfoFromInd( const OUString& aInd )
while( *pLine && !( pLine[0] == '_' && pLine[1] == '_' ))
if( *pLine != '_' )
{
- newItem += OUString( (sal_Unicode) *pLine );
+ newItem += OUStringLiteral1( *pLine );
pLine++;
}
else
@@ -114,10 +114,10 @@ static vector< OUString > getInfoFromInd( const OUString& aInd )
return aResult;
}
- aNum += OUString( (sal_Unicode) pLine[i] );
+ aNum += OUStringLiteral1( pLine[i] );
}
- newItem += OUString( (sal_Unicode) aNum.toUInt32( 16 ) );
+ newItem += OUStringLiteral1( aNum.toUInt32( 16 ) );
pLine += 3;
}