Files connectivity/inc/connectivity/TTableHelper.hxx 
connectivity/source/commontools/TTableHelper.cxx
class OTableHelper
has a private member named refreshFor*gei*nKeys (without the
asterisks). To should "obviously" be refreshFor*eig*nKeys (without
the asterisks). As this is a private member, no API problem in
changing it.

Patch attached.

-- 
Lionel
>From 1b668441fa1231955534e0a3e7dd85db8a08e928 Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel.mam...@gestman.lu>
Date: Sun, 14 Aug 2011 17:19:47 +0200
Subject: [PATCH] class OTableHelper: typo in private member name: refreshFor*gei*nKeys

---
 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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to