Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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.mamane@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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.