summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-09-28 11:38:45 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-09-28 11:38:45 -0400
commita8d9efc16d313a5c8c530f5324f2e067f3013d5e (patch)
tree9a50c9a18a473e9ad69e00fee69f8912ec8f439f /svl
parent12c6f530ad66f024913ea45fa22f34da39b8080b (diff)
Ported calc-ods-sheet-protection-svtools.diff from ooo-build.
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/PasswordHelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/inc/PasswordHelper.hxx b/svl/inc/PasswordHelper.hxx
index da9bc5da99ea..6a6742eb575b 100644
--- a/svl/inc/PasswordHelper.hxx
+++ b/svl/inc/PasswordHelper.hxx
@@ -36,11 +36,12 @@ class String;
class SvPasswordHelper
{
- static void GetHashPassword(com::sun::star::uno::Sequence <sal_Int8>& rPassHash, const sal_Char* pPass, sal_uInt32 nLen);
static void GetHashPasswordLittleEndian(com::sun::star::uno::Sequence<sal_Int8>& rPassHash, const String& sPass);
static void GetHashPasswordBigEndian(com::sun::star::uno::Sequence<sal_Int8>& rPassHash, const String& sPass);
public:
+ SVL_DLLPUBLIC static void GetHashPassword(com::sun::star::uno::Sequence <sal_Int8>& rPassHash, const sal_Char* pPass, sal_uInt32 nLen);
+
SVL_DLLPUBLIC static void GetHashPassword(com::sun::star::uno::Sequence<sal_Int8>& rPassHash, const String& sPass);
/**
Use this method to compare a given string with another given Hash value.