summaryrefslogtreecommitdiff
path: root/include/svl/cryptosign.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-08-01 18:07:56 -0400
committerAshod Nakashian <ashnakash@gmail.com>2017-08-04 02:12:26 +0200
commit345994dad91765e5356f95786146bf8aca5a4aa3 (patch)
tree56e09f549534d18b195e4ca470690806955fea57 /include/svl/cryptosign.hxx
parent0a64fa41045eea8ea179bbf0eee306ffb5851500 (diff)
sw: sign paragraph text
The results are not stored anywhere just yet. Change-Id: I99a701ee8a16f166350c7c342b34b8fc476a81ae Reviewed-on: https://gerrit.libreoffice.org/40721 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'include/svl/cryptosign.hxx')
-rw-r--r--include/svl/cryptosign.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/cryptosign.hxx b/include/svl/cryptosign.hxx
index f8c1f36bdd8a..2a44744bbaa1 100644
--- a/include/svl/cryptosign.hxx
+++ b/include/svl/cryptosign.hxx
@@ -51,7 +51,7 @@ public:
/// Add a range to sign.
/// Note: for efficiency this takes a naked pointer, which must remain valid
/// until this object is discarded.
- void AddDataRange(void* pData, sal_Int32 size)
+ void AddDataRange(const void* pData, sal_Int32 size)
{
m_dataBlocks.emplace_back(pData, size);
}
@@ -81,7 +81,7 @@ private:
const css::uno::Reference<css::security::XCertificate> m_xCertificate;
/// Data blocks (pointer-size pairs).
- std::vector<std::pair<void*, sal_Int32>> m_dataBlocks;
+ std::vector<std::pair<const void*, sal_Int32>> m_dataBlocks;
OUString m_aSignTSA;
OUString m_aSignPassword;
};