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


Cheers,
Wol
From 483a7a1b30c0ba970be581a982ab37e9eec17992 Mon Sep 17 00:00:00 2001
From: Wol <anthony@youngman.org.uk>
Date: Wed, 10 Nov 2010 09:30:11 +0000
Subject: [PATCH] More translations and comment deletion for Base

---
 dbaccess/source/core/misc/DatabaseDataProvider.cxx |    2 +-
 dbaccess/source/core/misc/dsntypes.cxx             |   10 +++++-----
 dbaccess/source/core/misc/services.cxx             |    4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx 
b/dbaccess/source/core/misc/DatabaseDataProvider.cxx
index c9fac48..59053fe 100644
--- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx
+++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx
@@ -184,7 +184,7 @@ void SAL_CALL DatabaseDataProvider::initialize(const uno::Sequence< uno::Any > &
             pArgIter->Value >>= eRowSource;
             if ( eRowSource != ::com::sun::star::chart::ChartDataRowSource_COLUMNS )
                 return sal_False;
-        } // if ( pArgIter->Name.equalsAscii("DataRowSource") )
+        }
         else if ( pArgIter->Name.equalsAscii("CellRangeRepresentation") )
         {
             ::rtl::OUString sRange;
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 4ba3437..9a6f717 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -173,7 +173,7 @@ bool ODsnTypeCollection::isConnectionUrlRequired(const ::rtl::OUString& _sURL) c
             sRet = *aIter;
             sOldPattern = *aIter;
         }
-    } // for(;aIter != aEnd;++aIter)
+    }
     return sRet.GetChar(sRet.Len()-1) == '*';
 }
 // -----------------------------------------------------------------------------
@@ -203,7 +203,7 @@ String ODsnTypeCollection::getDatasourcePrefixFromMediaType(const ::rtl::OUStrin
             if ( !sFileExtension.getLength() && _sExtension.getLength() )
                 sFallbackURL = *pIter;
         }
-    } // for(;pIter != pEnd;++pIter )
+    }
 
     if ( !sURL.Len() && sFallbackURL.Len() )
         sURL = sFallbackURL;
@@ -239,7 +239,7 @@ void ODsnTypeCollection::extractHostNamePort(const ::rtl::OUString& _rDsn,String
         if ( _rsHostname.Len() )
             _rsHostname = _rsHostname.GetToken(_rsHostname.GetTokenCount('@') - 1,'@');
         _sDatabaseName = sUrl.GetToken(sUrl.GetTokenCount(':') - 1,':');
-    } // if ( _rDsn.matchIgnoreAsciiCaseAsciiL("jdbc:oracle:thin:",sizeof("jdbc:oracle:thin:")-1) )
+    }
     else if ( 
_rDsn.matchIgnoreAsciiCaseAsciiL("sdbc:address:ldap:",sizeof("sdbc:address:ldap:")-1) )
     {
         lcl_extractHostAndPort(sUrl,_sDatabaseName,_nPortNumber);
@@ -334,7 +334,7 @@ bool ODsnTypeCollection::isEmbeddedDatabase( const ::rtl::OUString& _sURL ) cons
             if ( sEmbeddedDatabaseURL.getLength() )
                 aInstalled.getNodeValue(s_sValue + 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + sEmbeddedDatabaseURL + 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/URL"))) >>= sEmbeddedDatabaseURL;
         }
-    } // if ( aInstalled.isValid() )
+    }
     if ( !sEmbeddedDatabaseURL.getLength() )
         sEmbeddedDatabaseURL = 
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("sdbc:embedded:hsqldb"));
     return sEmbeddedDatabaseURL;
@@ -530,7 +530,7 @@ void ODsnTypeCollection::fillPageIds(const ::rtl::OUString& _sURL,::std::vector<
         {
             sOldPattern = *aIter;
         }
-    } // for(sal_Int32 i = 0;aIter != aEnd;++aIter,++i)
+    }
     return sOldPattern;
 }
 // -----------------------------------------------------------------------------
diff --git a/dbaccess/source/core/misc/services.cxx b/dbaccess/source/core/misc/services.cxx
index 2b6255e..d226843 100644
--- a/dbaccess/source/core/misc/services.cxx
+++ b/dbaccess/source/core/misc/services.cxx
@@ -64,8 +64,8 @@ namespace dba{
 
 //***************************************************************************************
 //
-// Die vorgeschriebene C-Api muss erfuellt werden!
-// Sie besteht aus drei Funktionen, die von dem Modul exportiert werden muessen.
+// The prescribed C api must be complied with
+// It consists of three functions which must be exported by the module.
 //
 extern "C" void SAL_CALL createRegistryInfo_DBA()
 {
-- 
1.7.2.2


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.