Kaydet (Commit) 09c3e92f authored tarafından Noel Grandin's avatar Noel Grandin

fix uninitialised warnings

Change-Id: I20af2e294482657e2107b96381e400a609374032
üst e0dfd32b
...@@ -381,7 +381,7 @@ uno::Sequence<OUString> ScSpreadsheetSettings::getSupportedServiceNames_Static() ...@@ -381,7 +381,7 @@ uno::Sequence<OUString> ScSpreadsheetSettings::getSupportedServiceNames_Static()
sal_Bool ScSpreadsheetSettings::getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException) sal_Bool ScSpreadsheetSettings::getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException)
{ {
uno::Any any = getPropertyValue(aPropertyName); uno::Any any = getPropertyValue(aPropertyName);
sal_Bool b; sal_Bool b = sal_False;
any >>= b; any >>= b;
return b; return b;
} }
...@@ -389,7 +389,7 @@ sal_Bool ScSpreadsheetSettings::getPropertyBool(const OUString& aPropertyName) t ...@@ -389,7 +389,7 @@ sal_Bool ScSpreadsheetSettings::getPropertyBool(const OUString& aPropertyName) t
sal_Int16 ScSpreadsheetSettings::getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException) sal_Int16 ScSpreadsheetSettings::getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException)
{ {
uno::Any any = getPropertyValue(aPropertyName); uno::Any any = getPropertyValue(aPropertyName);
sal_Int16 b; sal_Int16 b = sal_False;
any >>= b; any >>= b;
return b; return b;
} }
......
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