[PATCH 3/4] Translation, spelling mistakes and dead code

Wol anthony at youngman.org.uk
Wed Nov 10 03:24:29 PST 2010


---
 dbaccess/source/filter/migration/cfgimport.cxx |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/dbaccess/source/filter/migration/cfgimport.cxx b/dbaccess/source/filter/migration/cfgimport.cxx
index 75b23cc..a116fa5 100644
--- a/dbaccess/source/filter/migration/cfgimport.cxx
+++ b/dbaccess/source/filter/migration/cfgimport.cxx
@@ -302,7 +302,7 @@ void LoadTableFieldDesc(const Reference< XObjectInputStream>& _rxIn,PropertyValu
     ::rtl::OUString		aFieldName;		// column
     ::rtl::OUString		aFieldAlias;	// column alias
     ::rtl::OUString		aDatabaseName;	// qualifier or catalog
-    ::rtl::OUString		aFunctionName;	// enth"alt den Funktionsnamen, nur wenn eFunctionType != FKT_NONE gesetzt
+    ::rtl::OUString		aFunctionName;	// contains the function name, ?but only when "eFunctionType != FKT_NONE" is set?
 
     sal_Int32			eDataType;
     sal_Int32			eFunctionType;
@@ -509,7 +509,7 @@ void OCfgImport::createDataSource(const ::rtl::OUString& _sName)
         while( aRet.SearchAndReplaceAscii( "*.", String() ) != STRING_NOTFOUND ) ;
         sExtension = aRet;
     }
-    // then look for which of them settings are stored in the configuration
+    // then look for which of the settings are stored in the configuration
     ::rtl::OUString sFileName;
     try
     {
@@ -693,9 +693,6 @@ void SAL_CALL OCfgImport::addOrReplaceNode(
                 break;
         }
     }
-    /*if ( aName.equalsAscii("org.openoffice.Office.DataAccess") )
-        m_aStack.push(TElementStack::value_type(aName,0));
-    else*/
     if ( aName.equalsAscii("DataSources") )
         m_aStack.push(TElementStack::value_type(aName,DATASOURCES));
     else if ( aName.equalsAscii("DataSourceSettings") )
-- 
1.7.2.2


--------------070708070002000903060809
Content-Type: text/plain;
 name="0004-Spelling-mistakes-and-code-removal.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0004-Spelling-mistakes-and-code-removal.patch"



More information about the LibreOffice mailing list