diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-22 10:47:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-24 10:48:03 +0100 |
commit | 7dca83c77cf20c943a338882b626e2b68d85ea77 (patch) | |
tree | 0a121bea7d416ca84e65a037a3e394a7291e5655 /ucbhelper/source | |
parent | d330483ad0106a750dec560b987c21aaa5394ab6 (diff) |
callcatcher: remove some unused methods
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 53bda7224b1e..2e72cf66099d 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -790,39 +790,6 @@ Any Content::createCursorAny( const Sequence< rtl::OUString >& rPropertyNames, } //========================================================================= -Any Content::createCursorAny( const Sequence< sal_Int32 >& rPropertyHandles, - ResultSetInclude eMode ) - throw( CommandAbortedException, RuntimeException, Exception ) -{ - sal_Int32 nCount = rPropertyHandles.getLength(); - Sequence< Property > aProps( nCount ); - Property* pProps = aProps.getArray(); - const sal_Int32* pHandles = rPropertyHandles.getConstArray(); - for ( sal_Int32 n = 0; n < nCount; ++n ) - { - Property& rProp = pProps[ n ]; - rProp.Name = rtl::OUString(); // n/a - rProp.Handle = pHandles[ n ]; - } - - OpenCommandArgument2 aArg; - aArg.Mode = ( eMode == INCLUDE_FOLDERS_ONLY ) - ? OpenMode::FOLDERS - : ( eMode == INCLUDE_DOCUMENTS_ONLY ) - ? OpenMode::DOCUMENTS : OpenMode::ALL; - aArg.Priority = 0; // unused - aArg.Sink = Reference< XInterface >(); // unused - aArg.Properties = aProps; - - Command aCommand; - aCommand.Name = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("open")); - aCommand.Handle = -1; // n/a - aCommand.Argument <<= aArg; - - return m_xImpl->executeCommand( aCommand ); -} - -//========================================================================= Reference< XResultSet > Content::createCursor( const Sequence< rtl::OUString >& rPropertyNames, ResultSetInclude eMode ) |