summaryrefslogtreecommitdiffstats
path: root/ucbhelper/source
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas.kanapickas@gmail.com>2010-10-18 16:52:05 +0100
committerMichael Meeks <michael.meeks@novell.com>2010-10-18 16:52:27 +0100
commit849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch)
tree7d2c662f43a00f3bc04a0d51c685544074538a5c /ucbhelper/source
parentMark many more files as EXCEPTIONFILES. (diff)
downloadcore-849a713ffd29a58ae79e48f80835c28bbd9d5a72.tar.gz
core-849a713ffd29a58ae79e48f80835c28bbd9d5a72.zip
remove non-compiled code
Diffstat (limited to 'ucbhelper/source')
-rw-r--r--ucbhelper/source/provider/resultsetmetadata.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx
index 1bd820ccfd04..d7697fb92533 100644
--- a/ucbhelper/source/provider/resultsetmetadata.cxx
+++ b/ucbhelper/source/provider/resultsetmetadata.cxx
@@ -417,27 +417,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
UNO_QUERY );
if ( xInfo.is() )
{
-#if 0
- // Convenient...
- sal_Int32 nCount = m_pImpl->m_aProps.getLength();
- Property* pProps = m_pImpl->m_aProps.getArray();
- for ( sal_Int32 n = 0; n < nCount; ++n )
- {
- Property& rProp = pProps[ n ];
-
- try
- {
- Property aProp
- = xInfo->getPropertyByName( rProp.Name );
- rProp.Type = aProp.Type;
- }
- catch ( UnknownPropertyException& )
- {
- // getPropertyByName
- }
- }
-#else
// Less (remote) calls...
Sequence< Property > aProps = xInfo->getProperties();
@@ -461,7 +441,6 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
}
}
}
-#endif
}
}
catch ( RuntimeException& )