Cheers,
Wol
>From a62ec669b4f383a27d645673ae936d073320b1fd Mon Sep 17 00:00:00 2001
From: Wol <[email protected]>
Date: Tue, 23 Nov 2010 23:56:34 +0000
Subject: [PATCH 3/3] Dead code removal

---
 dbaccess/source/ui/uno/ColumnModel.cxx     |    2 --
 dbaccess/source/ui/uno/copytablewizard.cxx |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)

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 );
-- 
1.7.2.2

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to