summaryrefslogtreecommitdiff
path: root/vcl/inc/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/image.h')
-rw-r--r--vcl/inc/image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/image.h b/vcl/inc/image.h
index c9fb5393191a..5048a850aade 100644
--- a/vcl/inc/image.h
+++ b/vcl/inc/image.h
@@ -42,6 +42,11 @@ struct ImplImage
bool isStock() const { return maStockName.getLength() > 0; }
+ OUString getStock() const
+ {
+ return maStockName;
+ }
+
/// get size in co-ordinates not scaled for HiDPI
Size getSizePixel();
/// Legacy - the original bitmap