fix build
Change-Id: I501edaf90794df2ba776241e73c8b844e205ca3c
This commit is contained in:
parent
07bcb812c9
commit
0b90c4a285
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user