[Libreoffice-commits] core.git: include/vcl
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 10 16:58:29 UTC 2021
include/vcl/BitmapInfoAccess.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cf3002ca480cbd2365317da4e9e729265b7c05ae
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 10 15:45:14 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Sep 10 18:58:06 2021 +0200
BitmapInfoAccess::GetColorMask can return a const reference
Change-Id: I84c18b1d73910aa4c5a269e122f4ae86eb765e55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121907
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/vcl/BitmapInfoAccess.hxx b/include/vcl/BitmapInfoAccess.hxx
index 86c4ada2ae16..4c20e72e9c67 100644
--- a/include/vcl/BitmapInfoAccess.hxx
+++ b/include/vcl/BitmapInfoAccess.hxx
@@ -116,7 +116,7 @@ public:
sal_uInt16 GetBestPaletteIndex(const BitmapColor& rBitmapColor) const;
- ColorMask& GetColorMask() const
+ const ColorMask& GetColorMask() const
{
assert(mpBuffer && "Access is not valid!");
More information about the Libreoffice-commits
mailing list