[Libreoffice-commits] core.git: bin/find-german-comments mysqlc/source

Michael Meeks michael.meeks at collabora.com
Wed Sep 17 06:07:49 PDT 2014


 bin/find-german-comments           |    2 +-
 mysqlc/source/mysqlc_statement.cxx |   22 ----------------------
 mysqlc/source/mysqlc_statement.hxx |   14 +++-----------
 3 files changed, 4 insertions(+), 34 deletions(-)

New commits:
commit be75acefbcca66f2c8e8df203bd2f4c3946daec4
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Wed Sep 17 14:08:57 2014 +0100

    Translate German comment.
    
    Change-Id: I3d452ac218005b40568ec116ede9962cc1e60a18

diff --git a/bin/find-german-comments b/bin/find-german-comments
index f040f89..dca70e3 100755
--- a/bin/find-german-comments
+++ b/bin/find-german-comments
@@ -286,7 +286,7 @@ class Parser:
             "lingucomponent" : 1,
             "linguistic" : 1,
             "lotuswordpro" : 1,
-            "mysqlc" : 0, #
+            "mysqlc" : 1,
             "o3tl" : 1,
             "odk" : 1,
             "officecfg" : 1,
diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx
index 54679df..60cc7f6 100644
--- a/mysqlc/source/mysqlc_statement.cxx
+++ b/mysqlc/source/mysqlc_statement.cxx
@@ -48,7 +48,6 @@ using namespace com::sun::star::io;
 using namespace com::sun::star::util;
 using ::osl::MutexGuard;
 
-/* {{{ OConnection::OCommonStatement() -I- */
 OCommonStatement::OCommonStatement(OConnection* _pConnection, sql::Statement *_cppStatement)
     :OCommonStatement_IBase(m_aMutex)
     ,OPropertySetHelper(OCommonStatement_IBase::rBHelper)
@@ -60,18 +59,12 @@ OCommonStatement::OCommonStatement(OConnection* _pConnection, sql::Statement *_c
     OSL_TRACE("OCommonStatement::OCommonStatement");
     m_pConnection->acquire();
 }
-/* }}} */
-
 
-/* {{{ OConnection::~OCommonStatement() -I- */
 OCommonStatement::~OCommonStatement()
 {
     OSL_TRACE("OCommonStatement::~OCommonStatement");
 }
-/* }}} */
-
 
-/* {{{ OConnection::disposeResultSet() -I- */
 void OCommonStatement::disposeResultSet()
 {
     OSL_TRACE("OCommonStatement::disposeResultSet");
@@ -79,10 +72,7 @@ void OCommonStatement::disposeResultSet()
     delete cppStatement;
     cppStatement = NULL;
 }
-/* }}} */
-
 
-/* {{{ OConnection::disposing() -I- */
 void OCommonStatement::disposing()
 {
     OSL_TRACE("OCommonStatement::disposing");
@@ -99,10 +89,7 @@ void OCommonStatement::disposing()
     dispose_ChildImpl();
     OCommonStatement_IBase::disposing();
 }
-/* }}} */
 
-
-/* {{{ OCommonStatement::queryInterface() -I- */
 Any SAL_CALL OCommonStatement::queryInterface(const Type & rType)
     throw(RuntimeException, std::exception)
 {
@@ -113,10 +100,7 @@ Any SAL_CALL OCommonStatement::queryInterface(const Type & rType)
     }
     return aRet;
 }
-/* }}} */
 
-
-/* {{{ OCommonStatement::getTypes() -I- */
 Sequence< Type > SAL_CALL OCommonStatement::getTypes()
     throw(RuntimeException, std::exception)
 {
@@ -127,10 +111,7 @@ Sequence< Type > SAL_CALL OCommonStatement::getTypes()
 
     return concatSequences(aTypes.getTypes(), OCommonStatement_IBase::getTypes());
 }
-/* }}} */
 
-
-/* {{{ OCommonStatement::cancel() -I- */
 void SAL_CALL OCommonStatement::cancel()
     throw(RuntimeException, std::exception)
 {
@@ -139,10 +120,7 @@ void SAL_CALL OCommonStatement::cancel()
     checkDisposed(rBHelper.bDisposed);
     // cancel the current sql statement
 }
-/* }}} */
-
 
-/* {{{ OCommonStatement::close() -I- */
 void SAL_CALL OCommonStatement::close()
     throw(SQLException, RuntimeException, std::exception)
 {
diff --git a/mysqlc/source/mysqlc_statement.hxx b/mysqlc/source/mysqlc_statement.hxx
index aa94e9f..68e4107 100644
--- a/mysqlc/source/mysqlc_statement.hxx
+++ b/mysqlc/source/mysqlc_statement.hxx
@@ -171,8 +171,9 @@ namespace connectivity
             virtual ~OStatement(){}
 
         public:
-            // ein Konstruktor, der fuer das Returnen des Objektes benoetigt wird:
-            OStatement(OConnection* _pConnection, sql::Statement *_cppStatement) : OCommonStatement(_pConnection, _cppStatement) {}
+            // A constructor which is required for the return of the objects
+            OStatement(OConnection* _pConnection, sql::Statement *_cppStatement) :
+                OCommonStatement(_pConnection, _cppStatement) {}
 
             virtual OUString SAL_CALL getImplementationName()
                 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -205,13 +206,4 @@ namespace connectivity
 }
 #endif // INCLUDED_MYSQLC_SOURCE_MYSQLC_STATEMENT_HXX
 
-/*
- * Local variables:
- * tab-width: 4
- * c-basic-offset: 4
- * End:
- * vim600: noet sw=4 ts=4 fdm=marker
- * vim<600: noet sw=4 ts=4
- */
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list