[Libreoffice-commits] core.git: cui/source
Noel Grandin
noel.grandin at collabora.co.uk
Fri Feb 9 11:14:22 UTC 2018
cui/source/dialogs/colorpicker.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2defbbd3e448758fb150ed4f8cd3d7afd0f0fdf2
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Fri Feb 9 13:12:30 2018 +0200
fix "replace Bitmap usage with VirtualDevice in ColorSliderControl"
commit 7116b9cc2f3ee28b4444540d0c14183b9bd17968
Change-Id: I40d7f88fa76c620abd8838a0dd525e67eeeb747b
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index e049d7283b44..eb34b074f503 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -661,6 +661,7 @@ void ColorSliderControl::UpdateBitmap()
return;
mxBitmap.disposeAndClear();
+ mxBitmap = VclPtr<VirtualDevice>::Create();
mxBitmap->SetOutputSizePixel(aSize);
const long nY = aSize.Height() - 1;
More information about the Libreoffice-commits
mailing list