diff options
-rw-r--r-- | connectivity/inc/connectivity/TTableHelper.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/commontools/TTableHelper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/inc/connectivity/TTableHelper.hxx b/connectivity/inc/connectivity/TTableHelper.hxx index 432c8b7d7f4f..63b91a5c645f 100644 --- a/connectivity/inc/connectivity/TTableHelper.hxx +++ b/connectivity/inc/connectivity/TTableHelper.hxx @@ -90,7 +90,7 @@ namespace connectivity ::std::auto_ptr<OTableHelperImpl> m_pImpl; void refreshPrimaryKeys(TStringVector& _rKeys); - void refreshForgeinKeys(TStringVector& _rKeys); + void refreshForeignKeys(TStringVector& _rKeys); protected: /** creates the column collection for the table diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx index 5d3027a627b1..4ab42e6ad35b 100644 --- a/connectivity/source/commontools/TTableHelper.cxx +++ b/connectivity/source/commontools/TTableHelper.cxx @@ -358,7 +358,7 @@ void OTableHelper::refreshPrimaryKeys(TStringVector& _rNames) ::comphelper::disposeComponent(xResult); } // ------------------------------------------------------------------------- -void OTableHelper::refreshForgeinKeys(TStringVector& _rNames) +void OTableHelper::refreshForeignKeys(TStringVector& _rNames) { Any aCatalog; if ( m_CatalogName.getLength() ) @@ -430,7 +430,7 @@ void OTableHelper::refreshKeys() if(!isNew()) { refreshPrimaryKeys(aNames); - refreshForgeinKeys(aNames); + refreshForeignKeys(aNames); m_pKeys = createKeys(aNames); } // if(!isNew()) else if (!m_pKeys ) |