diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-19 23:55:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-20 08:55:03 +0100 |
commit | 093e7a56fff27474e6a39734ab3f87fd0bcd28ad (patch) | |
tree | acac288740324b76f2a1920f747ae223b84d9b22 | |
parent | 6016eb1ec18d0b6f6e0e0dfbfc5bb84a4b961df6 (diff) |
callcatcher: remove unused Content::createDynamicCursor variant
-rw-r--r-- | ucbhelper/inc/ucbhelper/content.hxx | 23 | ||||
-rw-r--r-- | ucbhelper/source/client/content.cxx | 14 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 38 deletions
diff --git a/ucbhelper/inc/ucbhelper/content.hxx b/ucbhelper/inc/ucbhelper/content.hxx index 54318c49ec51..8ba43b0c07f7 100644 --- a/ucbhelper/inc/ucbhelper/content.hxx +++ b/ucbhelper/inc/ucbhelper/content.hxx @@ -516,29 +516,6 @@ public: throw( ::com::sun::star::ucb::CommandAbortedException, ::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception ); - /** - * This methods gives access to the children of a folder content. - * Additionally, the result set returned provides efficient access to - * preselected property values of the children. - * Internally it executes the command "open" at the content. - * - * @param nPropertyHandes is a sequence of handles of properties for - * that the values should be accessible via the resultset - * returned by this method. - * @param eMode is a very simple filter for the children contained - * in the resultset. - * @return an implementation of the service - * com.cun.star.ucb.DynamicResultSet, which can be used to - * get access to the children of a content. - */ - ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XDynamicResultSet > - createDynamicCursor( const ::com::sun::star::uno::Sequence< - sal_Int32 >& rPropertyHandles, - ResultSetInclude eMode - = INCLUDE_FOLDERS_AND_DOCUMENTS ) - throw( ::com::sun::star::ucb::CommandAbortedException, - ::com::sun::star::uno::RuntimeException, - ::com::sun::star::uno::Exception ); ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > createSortedCursor( const ::com::sun::star::uno::Sequence< rtl::OUString >& rPropertyNames, diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 19fd94e2a9e6..53bda7224b1e 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -867,20 +867,6 @@ Reference< XDynamicResultSet > Content::createDynamicCursor( } //========================================================================= -Reference< XDynamicResultSet > Content::createDynamicCursor( - const Sequence< sal_Int32 >& rPropertyHandles, - ResultSetInclude eMode ) - throw( CommandAbortedException, RuntimeException, Exception ) -{ - Reference< XDynamicResultSet > aResult; - createCursorAny( rPropertyHandles, eMode ) >>= aResult; - - OSL_ENSURE( aResult.is(), "Content::createDynamicCursor - no cursor!" ); - - return aResult; -} - -//========================================================================= Reference< XResultSet > Content::createSortedCursor( const Sequence< rtl::OUString >& rPropertyNames, const Sequence< NumberedSortingInfo >& rSortInfo, diff --git a/unusedcode.easy b/unusedcode.easy index 88a758afa3a9..734a352e8f12 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -2799,7 +2799,6 @@ test::OfficeConnection::tearDown() test::OfficeConnection::~OfficeConnection() test::getTestArgument(rtl::OUString const&, rtl::OUString*) toolkit::registerServices(com::sun::star::uno::Reference<com::sun::star::registry::XRegistryKey> const&, char const*, char const*, char const*) -ucbhelper::Content::createDynamicCursor(com::sun::star::uno::Sequence<int> const&, ucbhelper::ResultSetInclude) ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<int> const&) ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&) ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > const&) |