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 /ucbhelper | |
parent | rework sample text generator for different scripts (diff) | |
download | core-093e7a56fff27474e6a39734ab3f87fd0bcd28ad.tar.gz core-093e7a56fff27474e6a39734ab3f87fd0bcd28ad.zip |
callcatcher: remove unused Content::createDynamicCursor variant
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/inc/ucbhelper/content.hxx | 23 | ||||
-rw-r--r-- | ucbhelper/source/client/content.cxx | 14 |
2 files changed, 0 insertions, 37 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, |