summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/TableFieldInfo.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
index eb3331d6fe88..7f7163a32ba1 100644
--- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
+++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx
@@ -91,8 +91,8 @@ namespace dbaui
}
explicit DataSourceHolder(const Reference< XDataSource >& _rxDataSource)
+ : m_xDataSource(_rxDataSource)
{
- m_xDataSource = _rxDataSource;
Reference< XDocumentDataSource > xDocDS( m_xDataSource, UNO_QUERY );
if ( xDocDS.is() )
m_xDocument = xDocDS->getDatabaseDocument();
diff --git a/dbaccess/source/ui/querydesign/TableFieldInfo.cxx b/dbaccess/source/ui/querydesign/TableFieldInfo.cxx
index 7aae617ef7b9..bf3121c9b63c 100644
--- a/dbaccess/source/ui/querydesign/TableFieldInfo.cxx
+++ b/dbaccess/source/ui/querydesign/TableFieldInfo.cxx
@@ -23,9 +23,8 @@ using namespace dbaui;
// class OTableFieldInfo
OTableFieldInfo::OTableFieldInfo() :
- m_eDataType(1000)
+ m_eFieldType(TAB_NORMAL_FIELD), m_eDataType(1000)
{
- m_eFieldType = TAB_NORMAL_FIELD;
}
OTableFieldInfo::~OTableFieldInfo()