summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/storagehelper.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-12 23:01:55 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-13 11:57:55 +0400
commit00a67c0f9056729695e6004707d64b448756fa6f (patch)
treead780d6c78b55977a00f1ff6b3d418c24bf41d30 /comphelper/source/misc/storagehelper.cxx
parentd5b25bdd1247363c5745dd5fcbc2ec784063b6bd (diff)
Fix for fdo43460 Part VII getLength() to isEmpty()
Part VII Module comphelper
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 773ec55440d7..d04a28968aec 100644
--- a/comphelper/source/misc/storagehelper.cxx
+++ b/comphelper/source/misc/storagehelper.cxx
@@ -423,7 +423,7 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData(
{
// TODO/LATER: Should not the method be part of DocPasswordHelper?
uno::Sequence< beans::NamedValue > aEncryptionData;
- if ( aPassword.getLength() )
+ if ( !aPassword.isEmpty() )
{
sal_Int32 nSha1Ind = 0;
// generate SHA256 start key