summaryrefslogtreecommitdiff
path: root/svl/source/crypto/cryptosign.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/crypto/cryptosign.cxx')
-rw-r--r--svl/source/crypto/cryptosign.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 4596eeb167dd..ff8120ede34a 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -879,10 +879,10 @@ static int AsHex(char ch)
return nRet;
}
-std::vector<unsigned char> DecodeHexString(const OString& rHex)
+std::vector<unsigned char> DecodeHexString(std::string_view rHex)
{
std::vector<unsigned char> aRet;
- size_t nHexLen = rHex.getLength();
+ size_t nHexLen = rHex.size();
{
int nByte = 0;
int nCount = 2;