[PATCH] class OTableHelper: typo in private member name: refreshFor*gei*nKeys

Lionel Elie Mamane lionel.mamane at gestman.lu
Sun Aug 14 08:19:47 PDT 2011


---
 connectivity/inc/connectivity/TTableHelper.hxx   |    2 +-
 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 bcd67a9..74c386a 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 ecf97d4..e5355c5 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 )
-- 
1.7.2.5


--zYM0uCDKw75PZbzx--


More information about the LibreOffice mailing list