summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-12-22 18:51:41 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-12-22 18:51:41 +0100
commit151887a9550efed41c5a2709a4f56d768b441ce4 (patch)
treeff8034b8af3334626014e1bd4f61062551a587ba /connectivity
parent98929ce4e8e161febd8fcc0a0a53e607c6681483 (diff)
Fix other typos
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtable.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 06e0bccb1cd5..018e027a9db0 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -2418,7 +2418,7 @@ void ODbaseTable::addColumn(const Reference< XPropertySet >& _xNewColumn)
}
catch(const SQLException&)
{
- // here we know that the old table wasn't droped before
+ // here we know that the old table wasn't dropped before
if(!bAlreadyDroped)
xHold = pNewTable = NULL;
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.cxx b/connectivity/source/drivers/postgresql/pq_xtable.cxx
index d92e71d4e396..77cd9b13c9c4 100644
--- a/connectivity/source/drivers/postgresql/pq_xtable.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtable.cxx
@@ -245,7 +245,7 @@ void Table::alterColumnByName(
const Reference< XPropertySet >& descriptor )
throw (SQLException,NoSuchElementException,RuntimeException)
{
- Reference< com::sun::star::container::XNameAccess > colums =
+ Reference< com::sun::star::container::XNameAccess > columns =
Reference< com::sun::star::container::XNameAccess > ( getColumns(), UNO_QUERY );
OUString newName = extractStringProperty(descriptor, getStatics().NAME );
@@ -254,7 +254,7 @@ void Table::alterColumnByName(
extractStringProperty( this, getStatics().NAME ),
m_pSettings,
m_conn->createStatement(),
- Reference< com::sun::star::beans::XPropertySet>( colums->getByName( colName ), UNO_QUERY) ,
+ Reference< com::sun::star::beans::XPropertySet>( columns->getByName( colName ), UNO_QUERY) ,
descriptor );
if( colName != newName )
@@ -269,9 +269,9 @@ void Table::alterColumnByIndex(
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor )
throw (SQLException,IndexOutOfBoundsException,RuntimeException)
{
- Reference< com::sun::star::container::XIndexAccess > colums =
+ Reference< com::sun::star::container::XIndexAccess > columns =
Reference< com::sun::star::container::XIndexAccess>( getColumns(), UNO_QUERY );
- Reference< com::sun::star::beans::XPropertySet> column(colums->getByIndex( index ), UNO_QUERY );
+ Reference< com::sun::star::beans::XPropertySet> column(columns->getByIndex( index ), UNO_QUERY );
::pq_sdbc_driver::alterColumnByDescriptor(
extractStringProperty( this, getStatics().SCHEMA_NAME ),
extractStringProperty( this, getStatics().NAME ),