summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/storagehelper.cxx
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-02 12:05:46 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:39 +0200
commit07ba372985eb0884e46b9285c4f7c099eb43a392 (patch)
treeb4f9ab9b4ecc680e25ca5f7b36e17528d6940a13 /comphelper/source/misc/storagehelper.cxx
parent5d2c125d90a8865df9a96a267ed83686597e3336 (diff)
cppcheck scope reduction comphelper/.. storagehelper.cxx
Diffstat (limited to 'comphelper/source/misc/storagehelper.cxx')
-rw-r--r--comphelper/source/misc/storagehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx
index 2684d94ea054..7822f67d09d9 100644
--- a/comphelper/source/misc/storagehelper.cxx
+++ b/comphelper/source/misc/storagehelper.cxx
@@ -424,9 +424,9 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData(
{
// TODO/LATER: Should not the method be part of DocPasswordHelper?
uno::Sequence< beans::NamedValue > aEncryptionData;
- sal_Int32 nSha1Ind = 0;
if ( aPassword.getLength() )
{
+ sal_Int32 nSha1Ind = 0;
// generate SHA256 start key
try
{