From 36ad2b13371a24d99dcec16a60b48d895e0228aa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 31 May 2018 17:00:49 +0200 Subject: drop Image(Bitmap) constructor and convert some more code from Bitmap to BitmapEx Change-Id: Icf3c18608e0bb608408fe69722441cfa19f6b161 Reviewed-on: https://gerrit.libreoffice.org/55160 Tested-by: Jenkins Reviewed-by: Michael Meeks --- cui/source/options/optchart.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/options/optchart.cxx') diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index feba29eb1a7e..d9c92433c006 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -47,7 +47,7 @@ void SvxDefaultColorOptPage::InsertColorEntry(const XColorEntry& rEntry, sal_Int xDevice->SetFillColor(rColor); xDevice->SetLineColor(rStyleSettings.GetDisableColor()); xDevice->DrawRect(aRect); - Bitmap aBitmap(xDevice->GetBitmap(Point(0, 0), xDevice->GetOutputSize())); + BitmapEx aBitmap(xDevice->GetBitmap(Point(0, 0), xDevice->GetOutputSize())); nPos = m_pLbChartColors->InsertEntry(rStr, Image(aBitmap), nPos); -- cgit v1.2.1