diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-05 12:00:20 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-05 16:36:15 -0600 |
commit | 5523ed4b3571a22c32357459fd4f4976d32a341f (patch) | |
tree | df8781a0ad893f046d204fdc66f304a086e1c899 /editeng | |
parent | coverity#707756 Uninitialized scalar field (diff) | |
download | core-5523ed4b3571a22c32357459fd4f4976d32a341f.tar.gz core-5523ed4b3571a22c32357459fd4f4976d32a341f.zip |
coverity#707757 Uninitialized scalar field
Change-Id: I3956259474b100d0d14d500f9528b04125e0d169
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/frmitems.cxx | 4 |
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() |