From 0b90c4a2856edefe4c91c51d5d72daa5a301b41c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 21 Jan 2017 17:03:10 +0000 Subject: [PATCH] fix build Change-Id: I501edaf90794df2ba776241e73c8b844e205ca3c --- cui/source/customize/cfg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 4a77f4214e91..ca667f30be63 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -5385,7 +5385,7 @@ bool SvxIconSelectorDialog::ReplaceGraphicItem( } pTbSymbol->InsertItem( nId,aImage, aURL, ToolBoxItemBits::NONE, 0 ); //modify - xGraphic = aImage.GetXGraphic(); + xGraphic = Graphic(aImage.GetBitmapEx()).GetXGraphic(); URLs[0] = aURL; aImportGraph[ 0 ] = xGraphic; @@ -5548,7 +5548,7 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL ) { pTbSymbol->InsertItem( nId, aImage, aURL, ToolBoxItemBits::NONE, 0 ); - xGraphic = aImage.GetXGraphic(); + xGraphic = Graphic(aImage.GetBitmapEx()).GetXGraphic(); xGraphic->acquire(); pTbSymbol->SetItemData(