Kaydet (Commit) 9b334859 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: possibly uninitialized values

Change-Id: Ic4d21f9a2a3389d915620331463d32f27101fd77
üst 50d0b31d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment