fix build
Change-Id: I501edaf90794df2ba776241e73c8b844e205ca3c
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user