summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/filter/xml/xmlDataSourceSetting.cxx2
-rw-r--r--dbaccess/source/ui/browser/formadapter.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/TableFieldDescription.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
index c153b7a71253..45491d251667 100644
--- a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
+++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
@@ -198,7 +198,7 @@ Any OXMLDataSourceSetting::convertString(const css::uno::Type& _rExpectedType, c
if (TypeClass_SHORT == _rExpectedType.getTypeClass())
aReturn <<= (sal_Int16)nValue;
else
- aReturn <<= (sal_Int32)nValue;
+ aReturn <<= nValue;
break;
}
case TypeClass_HYPER:
diff --git a/dbaccess/source/ui/browser/formadapter.cxx b/dbaccess/source/ui/browser/formadapter.cxx
index 083f2f536420..6b4650ef04fb 100644
--- a/dbaccess/source/ui/browser/formadapter.cxx
+++ b/dbaccess/source/ui/browser/formadapter.cxx
@@ -1586,7 +1586,7 @@ void SAL_CALL SbaXFormAdapter::replaceByIndex(sal_Int32 _rIndex, const Any& Elem
// notify container listeners
css::container::ContainerEvent aEvt;
aEvt.Source = *this;
- aEvt.Accessor <<= (sal_Int32)_rIndex;
+ aEvt.Accessor <<= _rIndex;
aEvt.Element <<= xElement;
aEvt.ReplacedElement <<= xOld;
diff --git a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
index 20298d11006b..53ff10d9be88 100644
--- a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
+++ b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
@@ -171,7 +171,7 @@ void OTableFieldDesc::Save( ::comphelper::NamedValueCollection& o_rSettings, con
o_rSettings.put( "FieldAlias", m_aFieldAlias );
o_rSettings.put( "FunctionName", m_aFunctionName );
o_rSettings.put( "DataType", m_eDataType );
- o_rSettings.put( "FunctionType", (sal_Int32)m_eFunctionType );
+ o_rSettings.put( "FunctionType", m_eFunctionType );
o_rSettings.put( "FieldType", (sal_Int32)m_eFieldType );
o_rSettings.put( "OrderDir", (sal_Int32)m_eOrderDir );
o_rSettings.put( "ColWidth", m_nColWidth );