fix build

Change-Id: I501edaf90794df2ba776241e73c8b844e205ca3c
This commit is contained in:
Caolán McNamara
2017-01-21 17:03:10 +00:00
parent 07bcb812c9
commit 0b90c4a285

View File

@@ -5385,7 +5385,7 @@ bool SvxIconSelectorDialog::ReplaceGraphicItem(
} }
pTbSymbol->InsertItem( nId,aImage, aURL, ToolBoxItemBits::NONE, 0 ); //modify pTbSymbol->InsertItem( nId,aImage, aURL, ToolBoxItemBits::NONE, 0 ); //modify
xGraphic = aImage.GetXGraphic(); xGraphic = Graphic(aImage.GetBitmapEx()).GetXGraphic();
URLs[0] = aURL; URLs[0] = aURL;
aImportGraph[ 0 ] = xGraphic; aImportGraph[ 0 ] = xGraphic;
@@ -5548,7 +5548,7 @@ bool SvxIconSelectorDialog::ImportGraphic( const OUString& aURL )
{ {
pTbSymbol->InsertItem( nId, aImage, aURL, ToolBoxItemBits::NONE, 0 ); pTbSymbol->InsertItem( nId, aImage, aURL, ToolBoxItemBits::NONE, 0 );
xGraphic = aImage.GetXGraphic(); xGraphic = Graphic(aImage.GetBitmapEx()).GetXGraphic();
xGraphic->acquire(); xGraphic->acquire();
pTbSymbol->SetItemData( pTbSymbol->SetItemData(