Kaydet (Commit) 1323a62d authored tarafından Caolán McNamara's avatar Caolán McNamara

use SetGraphic instead of temporary GraphicObject

Change-Id: I220600e110e7bd2b602092c4a6f98521b0d8d43c
üst a4fd6f2e
......@@ -455,11 +455,11 @@ bool XFillBitmapItem::PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId )
{
if(xBmp.is())
{
maGraphicObject = Graphic(VCLUnoHelper::GetBitmap(xBmp));
maGraphicObject.SetGraphic(VCLUnoHelper::GetBitmap(xBmp));
}
else if(xGraphic.is())
{
maGraphicObject = Graphic(xGraphic);
maGraphicObject.SetGraphic(xGraphic);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment