summaryrefslogtreecommitdiff
path: root/include/vcl/BinaryDataContainer.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2023-04-01 15:06:30 +0100
committerMichael Meeks <michael.meeks@collabora.com>2023-04-13 22:22:47 +0200
commit689f0da67b063284991d758a4f0c66a305dcad37 (patch)
treeff9ed2cb15b9ab9601ba5e4ecb533736cf7d23b9 /include/vcl/BinaryDataContainer.hxx
parent499247966af565071542f1cdfa882d6b8e6c33f0 (diff)
BinaryDataContainer: pure re-factor - encapsulate cbegin/cend
Change-Id: Ic8dbf0afdb96a0f1be210eedfbd12ef6467dd29f Signed-off-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149916 Tested-by: Jenkins
Diffstat (limited to 'include/vcl/BinaryDataContainer.hxx')
-rw-r--r--include/vcl/BinaryDataContainer.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/BinaryDataContainer.hxx b/include/vcl/BinaryDataContainer.hxx
index 0d5be69f512c..2e2e5d4b6264 100644
--- a/include/vcl/BinaryDataContainer.hxx
+++ b/include/vcl/BinaryDataContainer.hxx
@@ -12,6 +12,7 @@
#include <sal/config.h>
+#include <com/sun/star/uno/Sequence.hxx>
#include <tools/stream.hxx>
#include <vcl/dllapi.h>
@@ -44,15 +45,13 @@ public:
size_t getSize() const;
bool isEmpty() const;
const sal_uInt8* getData() const;
+ css::uno::Sequence<sal_Int8> getCopyAsByteSequence() const;
// Returns the data as a stream open for reading
SvMemoryStream getMemoryStream();
std::size_t writeToStream(SvStream& rStream) const;
size_t calculateHash() const;
-
- auto cbegin() const { return mpData->cbegin(); }
- auto cend() const { return mpData->cend(); }
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */