summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-02 20:07:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 10:22:49 +0200
commit3e4996f4276ec252a9cc5eab7898aba75103aca7 (patch)
tree1f4e9f5ed4cc3d137d5a77a7fe2c06aa1739242f /include/comphelper
parent103a6bab82cde1035b4e9d2bd12fabac101b95a7 (diff)
Adapt Base64::decodeSomeChars to change from OUString to std::u16string_view
...in 9c95415de877af1430ab5b7123e11dedd0ea622c "Let comphelper::Base64::decode* take std::u16string_view" Change-Id: I42b1552fba80568b422cb60ccc99a7ab8664f2d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133711 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/base64.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/comphelper/base64.hxx b/include/comphelper/base64.hxx
index ed32b2f8bc0e..78a0bacb58e7 100644
--- a/include/comphelper/base64.hxx
+++ b/include/comphelper/base64.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_COMPHELPER_BASE64_HXX
#define INCLUDED_COMPHELPER_BASE64_HXX
+#include <sal/config.h>
+
+#include <cstddef>
+
#include <comphelper/comphelperdllapi.h>
#include <sal/types.h>
@@ -48,8 +52,8 @@ public:
// must be used!
static void decode(css::uno::Sequence<sal_Int8>& aPass, std::u16string_view sBuffer);
- static sal_Int32 decodeSomeChars(css::uno::Sequence<sal_Int8>& aPass,
- std::u16string_view sBuffer);
+ static std::size_t decodeSomeChars(css::uno::Sequence<sal_Int8>& aPass,
+ std::u16string_view sBuffer);
};
}