Kaydet (Commit) 1136925b authored tarafından Takeshi Abe's avatar Takeshi Abe

initialized with plain 0, instead of sal_False/false

Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
üst 9febe2cc
......@@ -207,7 +207,7 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
MutexGuard aGuard(m_aMutex);
checkDisposed(OPreparedStatement::rBHelper.bDisposed);
sal_Int32 affectedRows = sal_False;
sal_Int32 affectedRows = 0;
try {
affectedRows = ((sql::PreparedStatement *)cppStatement)->executeUpdate();
} catch (const sql::SQLException &e) {
......
......@@ -376,7 +376,7 @@ sal_Int8 ConstantPool::readBYTEConstant(sal_uInt16 index)
sal_Int16 ConstantPool::readINT16Constant(sal_uInt16 index)
{
sal_Int16 aINT16 = sal_False;
sal_Int16 aINT16 = 0;
if (m_pIndex && (index> 0) && (index <= m_numOfEntries))
{
......@@ -391,7 +391,7 @@ sal_Int16 ConstantPool::readINT16Constant(sal_uInt16 index)
sal_uInt16 ConstantPool::readUINT16Constant(sal_uInt16 index)
{
sal_uInt16 asal_uInt16 = sal_False;
sal_uInt16 asal_uInt16 = 0;
if (m_pIndex && (index> 0) && (index <= m_numOfEntries))
{
......@@ -406,7 +406,7 @@ sal_uInt16 ConstantPool::readUINT16Constant(sal_uInt16 index)
sal_Int32 ConstantPool::readINT32Constant(sal_uInt16 index)
{
sal_Int32 aINT32 = sal_False;
sal_Int32 aINT32 = 0;
if (m_pIndex && (index> 0) && (index <= m_numOfEntries))
{
......@@ -421,7 +421,7 @@ sal_Int32 ConstantPool::readINT32Constant(sal_uInt16 index)
sal_uInt32 ConstantPool::readUINT32Constant(sal_uInt16 index)
{
sal_uInt32 aUINT32 = sal_False;
sal_uInt32 aUINT32 = 0;
if (m_pIndex && (index> 0) && (index <= m_numOfEntries))
{
......@@ -436,7 +436,7 @@ sal_uInt32 ConstantPool::readUINT32Constant(sal_uInt16 index)
sal_Int64 ConstantPool::readINT64Constant(sal_uInt16 index)
{
sal_Int64 aINT64 = sal_False;
sal_Int64 aINT64 = 0;
if (m_pIndex && (index> 0) && (index <= m_numOfEntries))
{
......@@ -451,7 +451,7 @@ sal_Int64 ConstantPool::readINT64Constant(sal_uInt16 index)
sal_uInt64 ConstantPool::readUINT64Constant(sal_uInt16 index)
{
sal_uInt64 aUINT64 = sal_False;
sal_uInt64 aUINT64 = 0;
if (m_pIndex && (index> 0) && (index <= m_numOfEntries))
{
......
......@@ -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;
}
......
......@@ -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) );
......
......@@ -107,7 +107,7 @@ TRISTATE SdrGlueEditView::IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const
{
ForceUndirtyMrkPnt();
sal_Bool bFirst=sal_True;
sal_uInt16 nRet=sal_False;
sal_uInt16 nRet=0;
((SdrGlueEditView*)this)->ImpDoMarkedGluePoints(ImpGetEscDir,sal_True,&bFirst,&nThisEsc,&nRet);
return (TRISTATE)nRet;
}
......
......@@ -1218,7 +1218,7 @@ static sal_uInt8 lcl_ReadBorders(bool bVer67, WW8_BRC* brc, WW8PLCFx_Cp_FKP* pPa
//returns a sal_uInt8 filled with a bit for each position that had a sprm
//setting that border
sal_uInt8 nBorder = false;
sal_uInt8 nBorder = 0;
if( pSep )
{
if( !bVer67 )
......
......@@ -821,7 +821,7 @@ SvStream& operator>>( SvStream& rIStm, BitmapEx& rBitmapEx )
}
else
{
sal_uInt8 bTransparent = false;
sal_uInt8 bTransparent = 0;
rIStm >> bTransparent;
......
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