diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-16 10:39:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-16 16:03:07 +0000 |
commit | 3cdb86054c09617cea85dfc24ecbaf9cba376d7b (patch) | |
tree | 492627915c07805dec4ad696b363abb131fb40d3 /include/vcl/bitmapex.hxx | |
parent | ed88e6bf6a492008bd2e03a0e2ccab844fc8511e (diff) |
use std shared_ptr for sharing ImpBitmaps
Change-Id: I1a0360096964f6402bd3631f2b3f34bf9595ebc6
Reviewed-on: https://gerrit.libreoffice.org/22394
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/bitmapex.hxx')
-rw-r--r-- | include/vcl/bitmapex.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index 1e8511cec0a8..a4dea75da7ae 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -445,8 +445,8 @@ public: const Size &rSize ); public: - SAL_DLLPRIVATE ImpBitmap* ImplGetBitmapImpBitmap() const { return aBitmap.ImplGetImpBitmap(); } - SAL_DLLPRIVATE ImpBitmap* ImplGetMaskImpBitmap() const { return aMask.ImplGetImpBitmap(); } + SAL_DLLPRIVATE std::shared_ptr<ImpBitmap> ImplGetBitmapImpBitmap() const { return aBitmap.ImplGetImpBitmap(); } + SAL_DLLPRIVATE std::shared_ptr<ImpBitmap> ImplGetMaskImpBitmap() const { return aMask.ImplGetImpBitmap(); } private: |