summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-05 12:00:20 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-05 16:36:15 -0600
commit5523ed4b3571a22c32357459fd4f4976d32a341f (patch)
treedf8781a0ad893f046d204fdc66f304a086e1c899 /editeng
parentffc7f286068dfafa2d16f666bbb9035e666b1193 (diff)
coverity#707757 Uninitialized scalar field
Change-Id: I3956259474b100d0d14d500f9528b04125e0d169
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index cb880e35dfe8..d07ffd293e4b 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -4166,6 +4166,10 @@ SvxBrushItem::SvxBrushItem( const CntWallpaperItem& rItem, sal_uInt16 _nWhich )
maStrLink = rItem.GetBitmapURL();
SetGraphicPos( WallpaperStyle2GraphicPos((WallpaperStyle)rItem.GetStyle() ) );
}
+ else
+ {
+ SetGraphicPos( GPOS_NONE );
+ }
}
void SvxBrushItem::ApplyGraphicTransparency_Impl()