summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-06-06 22:19:38 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-06-06 22:21:57 +0100
commit29c101fe68ad1794744ec576f9d020eb56bba4cd (patch)
tree2ef2f99728bc4843e458398384e63281d35995f5 /svx/source/sdr
parent3fe227a65de7bd4aae803dcff6802824c624bd09 (diff)
use a transparent graphic for the OLE2 image, and spell 'Empty' correctly.
Change-Id: I94fbe74b6febede4819851dfa78690507b04f4f7
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
index 7177957cafa6..cea71d529d87 100644
--- a/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrolecontentprimitive2d.cxx
@@ -55,8 +55,7 @@ namespace drawinglayer
if(GRAPHIC_NONE == aGraphic.GetType())
{
// no source, use fallback resource emty OLE graphic
- const Bitmap aEmptyOLEBitmap(SdrOle2Obj::GetEmtyOLEReplacementBitmap());
- aGraphic = Graphic(aEmptyOLEBitmap);
+ aGraphic = SdrOle2Obj::GetEmptyOLEReplacementGraphic();
bScaleContent = true;
}