summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-10 16:13:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-10 16:17:55 +0000
commit4b99d7ebe0b78c46e22f78c4f7005901904711b9 (patch)
tree2462e2d2d7907277c1dc33db62a7e32ad7ca900d /filter
parentaace6e19e2e5d72918a04b88697dcb829887fc27 (diff)
coverity#707856 Uninitialized scalar field
Change-Id: Ib57a4703dfb20aab3b5976fab0331b93e4983c05
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/viscache.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx
index 0d1049e24d06..5745f9ed569b 100644
--- a/filter/source/msfilter/viscache.hxx
+++ b/filter/source/msfilter/viscache.hxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sfx2/objsh.hxx>
#include <tools/stream.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/bitmap.hxx>
@@ -35,6 +36,7 @@ class Impl_OlePres
public:
Impl_OlePres( sal_uLong nF )
: nFormat( nF )
+ , nAspect( ASPECT_CONTENT )
, pBmp( NULL )
, pMtf( NULL )
, nAdvFlags( 0x2 ) // in Dokument gefunden