diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-06-06 22:19:38 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-06-06 22:21:57 +0100 |
commit | 29c101fe68ad1794744ec576f9d020eb56bba4cd (patch) | |
tree | 2ef2f99728bc4843e458398384e63281d35995f5 /sc | |
parent | 3fe227a65de7bd4aae803dcff6802824c624bd09 (diff) |
use a transparent graphic for the OLE2 image, and spell 'Empty' correctly.
Change-Id: I94fbe74b6febede4819851dfa78690507b04f4f7
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 87014d749d8b..3c530f023005 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -2903,8 +2903,8 @@ SdrObject* XclImpPictureObj::DoCreateSdrObj( XclImpDffConverter& rDffConv, const // avoid a 'blank' shape that can result from a failed control import if ( !xSdrObj && IsOcxControl() && maGraphic.GetType() == GRAPHIC_NONE ) { - Graphic aReplacement( SdrOle2Obj::GetEmtyOLEReplacementBitmap() ); - const_cast< XclImpPictureObj* >( this )->maGraphic = aReplacement; + const_cast< XclImpPictureObj* >( this )->maGraphic = + SdrOle2Obj::GetEmptyOLEReplacementGraphic(); } // no OLE - create a plain picture from IMGDATA record data if( !xSdrObj && (maGraphic.GetType() != GRAPHIC_NONE) ) |