diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-10 21:51:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-11 14:46:45 +0100 |
commit | 2106d8e648449d34b195068eef5f672a14ea64a8 (patch) | |
tree | ce43da57f52c0bad223d123a37129da918fb5668 /unotools/source | |
parent | ef877aab7ee88f03b36447af82904fc94938f569 (diff) |
callcatcher: update unused code
Change-Id: Id5f730fc447b11000b266954f9e7f5287bad02f4
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/ucbhelper/ucbhelper.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx index cbb9ee917cb2..3dc4c9352c30 100644 --- a/unotools/source/ucbhelper/ucbhelper.cxx +++ b/unotools/source/ucbhelper/ucbhelper.cxx @@ -244,34 +244,6 @@ bool utl::UCBContentHelper::Kill(rtl::OUString const & url) { } bool utl::UCBContentHelper::MakeFolder( - rtl::OUString const & url, bool exclusive) -{ - INetURLObject o(url); - SAL_WARN_IF(o.HasError(), "unotools", "Invalid URL \"" << url << '"'); - rtl::OUString title( - o.getName( - INetURLObject::LAST_SEGMENT, true, - INetURLObject::DECODE_WITH_CHARSET)); - o.removeSegment(); - ucbhelper::Content parent; - ucbhelper::Content res; - return - ucbhelper::Content::create( - o.GetMainURL(INetURLObject::NO_DECODE), - new ucbhelper::CommandEnvironment( - css::uno::Reference<css::task::XInteractionHandler>( - (css::uno::Reference<css::lang::XMultiServiceFactory>( - comphelper::getProcessServiceFactory(), - css::uno::UNO_SET_THROW)-> - createInstance( - rtl::OUString( "com.sun.star.uui.InteractionHandler"))), - css::uno::UNO_QUERY_THROW), - css::uno::Reference<css::ucb::XProgressHandler>()), - parent) - && MakeFolder(parent, title, res, exclusive); -} - -bool utl::UCBContentHelper::MakeFolder( ucbhelper::Content & parent, rtl::OUString const & title, ucbhelper::Content & result, bool exclusive) { |