diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-18 16:52:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-18 16:52:27 +0100 |
commit | 849a713ffd29a58ae79e48f80835c28bbd9d5a72 (patch) | |
tree | 7d2c662f43a00f3bc04a0d51c685544074538a5c /ucbhelper/source | |
parent | f7cbde525450a1a9427873c264791c65056c4f2a (diff) |
remove non-compiled code
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/resultsetmetadata.cxx | 21 |
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& ) |