diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-21 17:03:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-21 17:03:21 +0000 |
commit | 0b90c4a2856edefe4c91c51d5d72daa5a301b41c (patch) | |
tree | 6f78c2b447f1c1d38a6a5517e10bee797372566b | |
parent | 07bcb812c95617ee543e51568cbc8fa83fed243e (diff) |
fix build
Change-Id: I501edaf90794df2ba776241e73c8b844e205ca3c
-rw-r--r-- | cui/source/customize/cfg.cxx | 4 |
1 files 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( |