summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-22 10:47:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-24 10:48:03 +0100
commit7dca83c77cf20c943a338882b626e2b68d85ea77 (patch)
tree0a121bea7d416ca84e65a037a3e394a7291e5655 /ucbhelper
parentd330483ad0106a750dec560b987c21aaa5394ab6 (diff)
callcatcher: remove some unused methods
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/inc/ucbhelper/content.hxx7
-rw-r--r--ucbhelper/source/client/content.cxx33
2 files changed, 0 insertions, 40 deletions
diff --git a/ucbhelper/inc/ucbhelper/content.hxx b/ucbhelper/inc/ucbhelper/content.hxx
index 8ba43b0c07f7..e49999bab3cf 100644
--- a/ucbhelper/inc/ucbhelper/content.hxx
+++ b/ucbhelper/inc/ucbhelper/content.hxx
@@ -110,13 +110,6 @@ protected:
::com::sun::star::uno::RuntimeException,
::com::sun::star::uno::Exception );
- ::com::sun::star::uno::Any createCursorAny( const ::com::sun::star::uno::Sequence<
- sal_Int32 >& rPropertyHandles,
- ResultSetInclude eMode )
- throw( ::com::sun::star::ucb::CommandAbortedException,
- ::com::sun::star::uno::RuntimeException,
- ::com::sun::star::uno::Exception );
-
public:
/**
* Constructor.
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 )