summaryrefslogtreecommitdiff
path: root/vcl/source/image/ImplImage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/image/ImplImage.cxx')
-rw-r--r--vcl/source/image/ImplImage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/image/ImplImage.cxx b/vcl/source/image/ImplImage.cxx
index 7605f88d9767..2658aac303b7 100644
--- a/vcl/source/image/ImplImage.cxx
+++ b/vcl/source/image/ImplImage.cxx
@@ -93,7 +93,7 @@ Size ImplImage::getSizePixel()
}
/// non-HiDPI compatibility method.
-BitmapEx ImplImage::getBitmapEx(bool bDisabled)
+BitmapEx const & ImplImage::getBitmapEx(bool bDisabled)
{
getSizePixel(); // force load, and at unity scale.
if (bDisabled)
@@ -123,7 +123,7 @@ bool ImplImage::isEqual(const ImplImage &ref) const
return maBitmapEx == ref.maBitmapEx;
}
-BitmapEx ImplImage::getBitmapExForHiDPI(bool bDisabled)
+BitmapEx const & ImplImage::getBitmapExForHiDPI(bool bDisabled)
{
if (isStock())
{ // check we have the right bitmap cached.