summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.cxx2
-rw-r--r--registry/source/reflread.cxx12
-rw-r--r--sc/source/ui/unoobj/appluno.cxx2
-rw-r--r--sc/source/ui/vba/vbavalidation.cxx2
-rw-r--r--svx/source/svdraw/svdglev.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
-rw-r--r--vcl/source/gdi/bitmapex.cxx2
7 files changed, 12 insertions, 12 deletions
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx
index 004acf9a3f40..31c0f8240ab3 100644
--- a/mysqlc/source/mysqlc_preparedstatement.cxx
+++ b/mysqlc/source/mysqlc_preparedstatement.cxx
@@ -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) {
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx
index 62bfaa913e83..64e1de75460e 100644
--- a/registry/source/reflread.cxx
+++ b/registry/source/reflread.cxx
@@ -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))
{
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) );
diff --git a/svx/source/svdraw/svdglev.cxx b/svx/source/svdraw/svdglev.cxx
index c5f920c49934..359b413b3c96 100644
--- a/svx/source/svdraw/svdglev.cxx
+++ b/svx/source/svdraw/svdglev.cxx
@@ -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;
}
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 39275407ed56..4b39be0a25e9 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -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 )
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 5087f181e8bc..e160cb03a8cc 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -821,7 +821,7 @@ SvStream& operator>>( SvStream& rIStm, BitmapEx& rBitmapEx )
}
else
{
- sal_uInt8 bTransparent = false;
+ sal_uInt8 bTransparent = 0;
rIStm >> bTransparent;