summaryrefslogtreecommitdiff
path: root/sd/source/core/drawdoc4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/drawdoc4.cxx')
-rw-r--r--sd/source/core/drawdoc4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 6954913a18a3..9c17c1d7adc6 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -168,7 +168,7 @@ void SdDrawDocument::CreateLayoutTemplates()
Color aNullColor( COL_WHITE );
Bitmap aNullBmp( aNullSize, 8 );
aNullBmp.Erase( aNullColor );
- rISet.Put(XFillBitmapItem(pPool, Graphic(aNullBmp)));
+ rISet.Put(XFillBitmapItem(pPool, GraphicObject::Create(Graphic(aNullBmp))));
// Shadow attributes (Drawing Engine)
rISet.Put(SdrShadowItem(sal_False));