From 001f44a7ca1c22ea386a4737e55b3ada1eefad78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 8 Apr 2014 10:30:31 +0100 Subject: [PATCH] coverity#738818 Uninitialized scalar field Change-Id: Ic2d6b70da3adcd99a35b63afcfacf55e566755c4 --- sd/source/filter/eppt/text.hxx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/sd/source/filter/eppt/text.hxx b/sd/source/filter/eppt/text.hxx index 301842bcfc16..71abbba19564 100644 --- a/sd/source/filter/eppt/text.hxx +++ b/sd/source/filter/eppt/text.hxx @@ -85,14 +85,17 @@ struct SOParagraph class PropStateValue : public PropValue { - protected : - - ::com::sun::star::beans::PropertyState ePropState; - ::com::sun::star::uno::Reference - < ::com::sun::star::beans::XPropertyState > mXPropState; - - sal_Bool ImplGetPropertyValue( const OUString& rString, sal_Bool bGetPropertyState = sal_True ); +public: + PropStateValue() + : PropValue() + , ePropState(css::beans::PropertyState_AMBIGUOUS_VALUE) + { + } +protected: + css::beans::PropertyState ePropState; + css::uno::Reference < css::beans::XPropertyState > mXPropState; + sal_Bool ImplGetPropertyValue( const OUString& rString, sal_Bool bGetPropertyState = sal_True ); }; struct FieldEntry