summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-05-14 14:46:33 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-05-14 20:17:14 +0900
commit1136925b2377925e4f6b83c4aeb2374e1d5bf32f (patch)
tree209f88ba43096b0a629759965e0d4bb82f52173b /sc
parent9febe2cc5000046bf49b973efb3970013a5b84e1 (diff)
initialized with plain 0, instead of sal_False/false
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/appluno.cxx2
-rw-r--r--sc/source/ui/vba/vbavalidation.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index 73b18a8caafe..3783fb17f98e 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -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_False;
+ sal_Int16 b = 0;
any >>= b;
return b;
}
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx
index 6d014547d5be..51332f5d4f5f 100644
--- a/sc/source/ui/vba/vbavalidation.cxx
+++ b/sc/source/ui/vba/vbavalidation.cxx
@@ -92,7 +92,7 @@ ScVbaValidation::getInCellDropdown() throw (uno::RuntimeException)
void SAL_CALL
ScVbaValidation::setInCellDropdown( ::sal_Bool _incelldropdown ) throw (uno::RuntimeException)
{
- sal_Int32 nDropDown = false;
+ sal_Int32 nDropDown = 0;
if ( _incelldropdown )
nDropDown = 1;
uno::Reference< beans::XPropertySet > xProps( lcl_getValidationProps(m_xRange) );