diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-14 14:07:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-14 14:07:08 +0100 |
commit | 9b3348597520781497082a09b1ff8fb4a8709463 (patch) | |
tree | ce19f6fd73f84a986e4c8c1503ac6a6af58d7acb /sw | |
parent | 50d0b31d330b3eb245e96d9950328261e89e00cd (diff) |
WaE: possibly uninitialized values
Change-Id: Ic4d21f9a2a3389d915620331463d32f27101fd77
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/swmodeltestbase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/swmodeltestbase.hxx b/sw/qa/extras/swmodeltestbase.hxx index 8792eb3a733d..39e41da9d768 100644 --- a/sw/qa/extras/swmodeltestbase.hxx +++ b/sw/qa/extras/swmodeltestbase.hxx @@ -147,7 +147,7 @@ protected: T getProperty( uno::Any obj, const rtl::OUString& name ) const { uno::Reference< beans::XPropertySet > properties( obj, uno::UNO_QUERY ); - T data; + T data = T(); properties->getPropertyValue( name ) >>= data; return data; } @@ -156,7 +156,7 @@ protected: T getProperty( uno::Reference< uno::XInterface > obj, const rtl::OUString& name ) const { uno::Reference< beans::XPropertySet > properties( obj, uno::UNO_QUERY ); - T data; + T data = T(); properties->getPropertyValue( name ) >>= data; return data; } |