From 7dca83c77cf20c943a338882b626e2b68d85ea77 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 22 Oct 2011 10:47:54 +0100 Subject: callcatcher: remove some unused methods --- ucbhelper/source/client/content.cxx | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'ucbhelper/source') 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 @@ -789,39 +789,6 @@ Any Content::createCursorAny( const Sequence< rtl::OUString >& rPropertyNames, return m_xImpl->executeCommand( aCommand ); } -//========================================================================= -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, -- cgit