summaryrefslogtreecommitdiff
path: root/include/comphelper/docpasswordhelper.hxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 19:06:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-01 09:51:32 -0600
commit8792ec7b2129650777b7b4bfacaa7c13d923279b (patch)
treef181e37b61533b460397cc68625fd21f46bb6393 /include/comphelper/docpasswordhelper.hxx
parentdff29fadfe418421f2af9fd4f1dccc8a9b4cd545 (diff)
Remove visual noise from include
Conflicts: include/framework/preventduplicateinteraction.hxx include/sfx2/sfxbasecontroller.hxx include/sfx2/sfxbasemodel.hxx include/toolkit/awt/vclxtabpagemodel.hxx include/vcl/field.hxx include/vcl/settings.hxx Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2 Reviewed-on: https://gerrit.libreoffice.org/8272 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/comphelper/docpasswordhelper.hxx')
-rw-r--r--include/comphelper/docpasswordhelper.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx
index b275be2d93ab..7a020ed85417 100644
--- a/include/comphelper/docpasswordhelper.hxx
+++ b/include/comphelper/docpasswordhelper.hxx
@@ -37,7 +37,7 @@ enum DocPasswordVerifierResult
DocPasswordVerifierResult_ABORT
};
-// ============================================================================
+
/** Base class for a password verifier used by the DocPasswordHelper class
below.
@@ -89,14 +89,14 @@ public:
};
-// ============================================================================
+
/** Helper that asks for a document password and checks its validity.
*/
class COMPHELPER_DLLPUBLIC DocPasswordHelper
{
public:
- // ------------------------------------------------------------------------
+
/** This helper function generates the information related
to "Password to modify" provided by user. The result
@@ -113,7 +113,7 @@ public:
static ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >
GenerateNewModifyPasswordInfo( const OUString& aPassword );
- // ------------------------------------------------------------------------
+
/** This helper function allows to check whether
the "Password to modify" provided by user is the correct one.
@@ -134,7 +134,7 @@ public:
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aInfo );
- // ------------------------------------------------------------------------
+
/** This helper function generates the hash code based on the algorithm
specified by MS for "Password to modify" feature of Word.
@@ -149,7 +149,7 @@ public:
static sal_uInt32 GetWordHashAsUINT32(
const OUString& aString );
- // ------------------------------------------------------------------------
+
/** This helper function generates the hash code based on the algorithm
specified by MS for "Password to modify" and passwords related to
@@ -170,7 +170,7 @@ public:
const OUString& aString,
rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 );
- // ------------------------------------------------------------------------
+
/** This helper function generates the hash code based on the algorithm
specified by MS for "Password to modify" and passwords related to
@@ -191,7 +191,7 @@ public:
const OUString& aString,
rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 );
- // ------------------------------------------------------------------------
+
/** This helper function generates a random sequence of bytes of
requested length.
@@ -200,7 +200,7 @@ public:
static ::com::sun::star::uno::Sequence< sal_Int8 > GenerateRandomByteSequence(
sal_Int32 nLength );
- // ------------------------------------------------------------------------
+
/** This helper function generates a byte sequence representing the
key digest value used by MSCodec_Std97 codec.
@@ -210,7 +210,7 @@ public:
const OUString& aPassword,
const ::com::sun::star::uno::Sequence< sal_Int8 >& aDocId );
- // ------------------------------------------------------------------------
+
/** This helper function generates a byte sequence representing the
key digest value used by MSCodec_Std97 codec.
@@ -228,7 +228,7 @@ public:
const sal_uInt16 pPassData[16],
const sal_uInt8 pDocId[16] );
- // ------------------------------------------------------------------------
+
/** This helper function tries to request and verify a password to load a
protected document.
@@ -298,7 +298,7 @@ private:
~DocPasswordHelper();
};
-// ============================================================================
+
} // namespace comphelper