diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 10:30:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 12:18:53 +0100 |
commit | 001f44a7ca1c22ea386a4737e55b3ada1eefad78 (patch) | |
tree | dc32a3ead2c72751ad934c309e15fd87ea69449f | |
parent | 3b73bb510096e502e6c6cdea35129617839efb3e (diff) |
coverity#738818 Uninitialized scalar field
Change-Id: Ic2d6b70da3adcd99a35b63afcfacf55e566755c4
-rw-r--r-- | sd/source/filter/eppt/text.hxx | 17 |
1 files 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 |