summaryrefslogtreecommitdiffstats
path: root/include/vcl/gfxlink.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/gfxlink.hxx')
-rw-r--r--include/vcl/gfxlink.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 8c0f5fd32b05..531633b3f738 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -85,6 +85,9 @@ public:
sal_uInt32 GetDataSize() const { return maDataContainer.getSize(); }
const sal_uInt8* GetData() const;
+ /// return the in-memory size as of now.
+ size_t getSizeBytes() const { return maDataContainer.getSizeBytes(); }
+
const BinaryDataContainer& getDataContainer() const
{
return maDataContainer;