summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-23 15:14:58 +0200
committerNoel Grandin <noel@peralex.com>2016-02-24 11:48:38 +0200
commitdc1f1cde6329044611607d8bfc10203b6d83dcee (patch)
tree9dd20b1ac2818101667ee43c3e69c22bbab0b48e /oox
parent0839f90394d96cf0fe414913527b3e3e5ba3c86a (diff)
convert DocPasswordVerifierResult to scoped enum
Change-Id: Ib5a595819dec8511d284ed1022d8f7c624f8d8f9
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/filterdetect.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/core/filterdetect.cxx b/oox/source/core/filterdetect.cxx
index ede7849c599f..02aec2bc88a6 100644
--- a/oox/source/core/filterdetect.cxx
+++ b/oox/source/core/filterdetect.cxx
@@ -283,12 +283,12 @@ comphelper::DocPasswordVerifierResult PasswordVerifier::verifyPassword( const OU
if(mDecryptor.generateEncryptionKey(rPassword))
rEncryptionData = mDecryptor.createEncryptionData(rPassword);
- return rEncryptionData.hasElements() ? comphelper::DocPasswordVerifierResult_OK : comphelper::DocPasswordVerifierResult_WRONG_PASSWORD;
+ return rEncryptionData.hasElements() ? comphelper::DocPasswordVerifierResult::OK : comphelper::DocPasswordVerifierResult::WrongPassword;
}
comphelper::DocPasswordVerifierResult PasswordVerifier::verifyEncryptionData( const Sequence<NamedValue>& )
{
- return comphelper::DocPasswordVerifierResult_WRONG_PASSWORD;
+ return comphelper::DocPasswordVerifierResult::WrongPassword;
}
} // namespace