[Libreoffice-commits] core.git: 2 commits - framework/inc sc/source
Noel Grandin
noel at peralex.com
Mon May 13 01:51:05 PDT 2013
framework/inc/services/pathsettings.hxx | 2 +-
sc/source/ui/unoobj/appluno.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e2fcf87e7f981ef4138054a59e10f87e925e1cae
Author: Noel Grandin <noel at peralex.com>
Date: Mon May 13 10:49:08 2013 +0200
fix: left out SAL_CALL annotation
Change-Id: I0443ce15113945c4e4a97a0016a5c90e9b992c74
diff --git a/framework/inc/services/pathsettings.hxx b/framework/inc/services/pathsettings.hxx
index 799e2fa..0c7e2e2 100644
--- a/framework/inc/services/pathsettings.hxx
+++ b/framework/inc/services/pathsettings.hxx
@@ -183,7 +183,7 @@ class PathSettings : public css::lang::XTypeProvider ,
{ return getStringProperty("Addin"); }
virtual void SAL_CALL setAddin(const OUString& p1) throw (css::uno::RuntimeException)
{ setStringProperty("Addin", p1); }
- virtual OUString getAutoCorrect() throw (css::uno::RuntimeException)
+ virtual OUString SAL_CALL getAutoCorrect() throw (css::uno::RuntimeException)
{ return getStringProperty("AutoCorrect"); }
virtual void SAL_CALL setAutoCorrect(const OUString& p1) throw (css::uno::RuntimeException)
{ setStringProperty("AutoCorrect", p1); }
commit 09c3e92fcb4cb18d7606c8d116936f9e0c5f3e2f
Author: Noel Grandin <noel at peralex.com>
Date: Mon May 13 10:48:24 2013 +0200
fix uninitialised warnings
Change-Id: I20af2e294482657e2107b96381e400a609374032
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index 1862f9d..73b18a8 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;
}
More information about the Libreoffice-commits
mailing list