diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-13 10:48:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-13 10:50:40 +0200 |
commit | 09c3e92fcb4cb18d7606c8d116936f9e0c5f3e2f (patch) | |
tree | c4492404e598c16c361a400a6837571a72bc8f76 /sc/source/ui/unoobj | |
parent | e0dfd32be2e4c3ee389b180fd45348fb1b800e9d (diff) |
fix uninitialised warnings
Change-Id: I20af2e294482657e2107b96381e400a609374032
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r-- | sc/source/ui/unoobj/appluno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx index 1862f9ddf62d..73b18a8caafe 100644 --- a/sc/source/ui/unoobj/appluno.cxx +++ b/sc/source/ui/unoobj/appluno.cxx @@ -381,7 +381,7 @@ uno::Sequence<OUString> ScSpreadsheetSettings::getSupportedServiceNames_Static() sal_Bool ScSpreadsheetSettings::getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException) { uno::Any any = getPropertyValue(aPropertyName); - sal_Bool b; + sal_Bool b = sal_False; any >>= b; return b; } @@ -389,7 +389,7 @@ sal_Bool ScSpreadsheetSettings::getPropertyBool(const OUString& aPropertyName) t sal_Int16 ScSpreadsheetSettings::getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException) { uno::Any any = getPropertyValue(aPropertyName); - sal_Int16 b; + sal_Int16 b = sal_False; any >>= b; return b; } |