[Libreoffice-commits] .: dbaccess/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Nov 23 19:45:35 PST 2010
dbaccess/source/ui/uno/ColumnModel.cxx | 2 --
dbaccess/source/ui/uno/copytablewizard.cxx | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 3cf9de9b2bdc2bfc73658beed96fe378cd7cb627
Author: Wol <anthony at youngman.org.uk>
Date: Tue Nov 23 23:56:34 2010 +0000
Dead code removal
diff --git a/dbaccess/source/ui/uno/ColumnModel.cxx b/dbaccess/source/ui/uno/ColumnModel.cxx
index 3700fc1..c66d80d 100644
--- a/dbaccess/source/ui/uno/ColumnModel.cxx
+++ b/dbaccess/source/ui/uno/ColumnModel.cxx
@@ -105,8 +105,6 @@ void OColumnControlModel::registerProperties()
&m_xConnection, ::getCppuType( &m_xConnection ) );
Any a;
a <<= m_xColumn;
-// registerMayBeVoidProperty( PROPERTY_COLUMN, PROPERTY_ID_COLUMN, PropertyAttribute::TRANSIENT | PropertyAttribute::BOUND| PropertyAttribute::MAYBEVOID,
-// &a, ::getCppuType( &m_xColumn ) );
registerProperty( PROPERTY_COLUMN, PROPERTY_ID_COLUMN, PropertyAttribute::TRANSIENT | PropertyAttribute::BOUND,
&m_xColumn, ::getCppuType( &m_xColumn ) );
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 083acbf..360e2ca 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1502,7 +1502,7 @@ void CopyTableWizard::impl_doCopy_nothrow()
sColumns.append(aDestColumnNames[aPosIter->second - 1]);
sColumns.append(sQuote);
}
- } // for ( ; aPosIter != aColumnMapping.end() ; ++aPosIter )
+ }
::rtl::OUStringBuffer sSql;
sSql.appendAscii("INSERT INTO ");
const ::rtl::OUString sComposedTableName = ::dbtools::composeTableName( xDestMetaData, _xTable, ::dbtools::eInDataManipulation, false, false, true );
More information about the Libreoffice-commits
mailing list