[Libreoffice-commits] .: dbaccess/source
Sebastian Spaeth
spaetz at kemper.freedesktop.org
Wed Nov 10 02:13:06 PST 2010
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(-)
New commits:
commit d1293ce3dd1bd9620a19d784a6640edffcb02765
Author: Wol <anthony at youngman.org.uk>
Date: Wed Nov 10 09:30:11 2010 +0000
More translations and comment deletion for Base
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()
{
More information about the Libreoffice-commits
mailing list