summaryrefslogtreecommitdiff
path: root/mysqlc/source/mysqlc_resultsetmetadata.cxx
diff options
context:
space:
mode:
authorVinicius Vendramini <vinivendra@gmail.com>2014-10-22 12:01:34 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-10-22 12:03:35 +0100
commitf73112e2290bbbf7e86dcf72158cffc3f2d80a6a (patch)
treea8c12d411087efc32729e4d048129531d860458e /mysqlc/source/mysqlc_resultsetmetadata.cxx
parentd19f950dc49ee4b635bfecfd1ff8f1b1b5f4358a (diff)
fdo#83991 - remove redundant function folding comments.
Change-Id: I630aeedc31099e11d4bd0e91a05943e926efd61e
Diffstat (limited to 'mysqlc/source/mysqlc_resultsetmetadata.cxx')
-rw-r--r--mysqlc/source/mysqlc_resultsetmetadata.cxx45
1 files changed, 0 insertions, 45 deletions
diff --git a/mysqlc/source/mysqlc_resultsetmetadata.cxx b/mysqlc/source/mysqlc_resultsetmetadata.cxx
index b52ecf036ea2..7e5e043c4be6 100644
--- a/mysqlc/source/mysqlc_resultsetmetadata.cxx
+++ b/mysqlc/source/mysqlc_resultsetmetadata.cxx
@@ -32,10 +32,8 @@ using namespace com::sun::star::sdbc;
OResultSetMetaData::~OResultSetMetaData()
{
}
-/* }}} */
-/* {{{ OResultSetMetaData::getColumnDisplaySize() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -50,10 +48,8 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getColumnType() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -69,14 +65,12 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
/*
XXX: This method doesn't throw exceptions at all.
Should it declare that it throws ?? What if throw() is removed?
Does it change the API, the open-close principle?
*/
-/* {{{ OResultSetMetaData::getColumnCount() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount()
throw(SQLException, RuntimeException, std::exception)
{
@@ -90,10 +84,8 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount()
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isCaseSensitive() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -109,10 +101,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getSchemaName() -I- */
OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -128,10 +118,8 @@ OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getColumnName() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -147,10 +135,8 @@ OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getTableName() -I- */
OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -166,10 +152,8 @@ OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getCatalogName() -I- */
OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -185,10 +169,8 @@ OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getColumnTypeName() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -204,10 +186,8 @@ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getColumnLabel() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -223,10 +203,8 @@ OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getColumnServiceName() -I- */
OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -236,10 +214,8 @@ OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column)
OUString aRet = OUString();
return aRet;
}
-/* }}} */
-/* {{{ OResultSetMetaData::isCurrency() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -255,10 +231,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isAutoIncrement() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -274,10 +248,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isSigned() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -293,10 +265,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getPrecision() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -312,10 +282,8 @@ sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::getScale() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception)
{
@@ -330,10 +298,8 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isNullable() -I- */
sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -349,10 +315,8 @@ sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isSearchable() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -368,10 +332,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isReadOnly() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -387,10 +349,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isDefinitelyWritable() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -406,10 +366,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::isWritable() -I- */
sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -425,10 +383,8 @@ sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column)
}
return sal_False; // fool compiler
}
-/* }}} */
-/* {{{ OResultSetMetaData::checkColumnIndex() -I- */
void OResultSetMetaData::checkColumnIndex(sal_Int32 columnIndex)
throw (SQLException, RuntimeException)
{
@@ -444,7 +400,6 @@ void OResultSetMetaData::checkColumnIndex(sal_Int32 columnIndex)
throw SQLException( buf.makeStringAndClear(), *this, OUString(), 1, Any() );
}
}
-/* }}} */
/*
* Local variables: