summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-29 13:34:26 +0200
committerNoel Grandin <noel@peralex.com>2015-06-02 09:45:16 +0200
commit1df41142451685d33b1821a839061c63f23e44fd (patch)
treebe78d70c5212ffb3496bf9fb6ec5f75f4c5e649c /svl
parent44cab3c9db5aef97fde57baec205a34fc794f64b (diff)
loplugin:loopvartoosmall
Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
Diffstat (limited to 'svl')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index b6b2d52234bd..a216b1e87af6 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -51,7 +51,7 @@ static OUString createIndex(const vector< OUString >& lines)
{
OString aResult;
- for( unsigned int i = 0; i < lines.size(); i++ )
+ for( size_t i = 0; i < lines.size(); i++ )
{
if( i )
aResult += OString( "__" );
@@ -180,7 +180,7 @@ static ::rtl::ByteSequence getBufFromAsciiLine( const OUString& line )
static Sequence< OUString > copyVectorToSequence( const vector< OUString >& original )
{
Sequence< OUString > newOne ( original.size() );
- for( unsigned int i = 0; i < original.size() ; i++ )
+ for( size_t i = 0; i < original.size() ; i++ )
newOne[i] = original[i];
return newOne;