summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-06-04 14:41:50 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-06-04 14:41:50 +0200
commit15f4e8c6b2110c4a39eb6ecb89b9a077354036e2 (patch)
treee5cab47183d2eab8d30a9b27089039c503a4c2e5 /comphelper
parent9213147ed049a681577dd5808508d845b13613e2 (diff)
cws tl78: warning free code
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/docpasswordhelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/docpasswordhelper.cxx b/comphelper/source/misc/docpasswordhelper.cxx
index 5238e33fead6..858d1ff19bca 100644
--- a/comphelper/source/misc/docpasswordhelper.cxx
+++ b/comphelper/source/misc/docpasswordhelper.cxx
@@ -1,4 +1,4 @@
-/*************************************************************************
+/***********************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -103,7 +103,7 @@ sal_uInt32 DocPasswordHelper::GetWordHashAsUINT32(
sal_uInt16 nLowResult = 0;
const sal_Unicode* pStr = aUString.getStr();
- for ( sal_Int32 nInd = 0; nInd < nLen; nInd++ )
+ for ( sal_uInt32 nInd = 0; nInd < nLen; nInd++ )
{
// NO Encoding during conversion!
// The specification says that the low byte should be used in case it is not NULL