diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 11 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontent.cxx | 10 |
2 files changed, 10 insertions, 11 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 790349d5f6e2..c141e269a78b 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2586,25 +2586,24 @@ void Content::insert( rtl::Reference< ucbhelper::SimpleInteractionRequest > xRequest = new ucbhelper::SimpleInteractionRequest( aExAsAny, - ucbhelper::CONTINUATION_APPROVE - | ucbhelper::CONTINUATION_DISAPPROVE ); + ContinuationFlags::Approve | ContinuationFlags::Disapprove ); xIH->handle( xRequest.get() ); - const sal_Int32 nResp = xRequest->getResponse(); + const ContinuationFlags nResp = xRequest->getResponse(); switch ( nResp ) { - case ucbhelper::CONTINUATION_UNKNOWN: + case ContinuationFlags::NONE: // Not handled; throw. throw aEx; // break; - case ucbhelper::CONTINUATION_APPROVE: + case ContinuationFlags::Approve: // Continue -> Overwrite. bReplaceExisting = true; break; - case ucbhelper::CONTINUATION_DISAPPROVE: + case ContinuationFlags::Disapprove: // Abort. throw ucb::CommandFailedException( OUString(), diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index d549d7a3a1c6..f01598a7185c 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -2435,25 +2435,25 @@ void Content::insert( rtl::Reference< ucbhelper::SimpleInteractionRequest > xRequest = new ucbhelper::SimpleInteractionRequest( aExAsAny, - ucbhelper::CONTINUATION_APPROVE - | ucbhelper::CONTINUATION_DISAPPROVE ); + ContinuationFlags::Approve + | ContinuationFlags::Disapprove ); xIH->handle( xRequest.get() ); const sal_Int32 nResp = xRequest->getResponse(); switch ( nResp ) { - case ucbhelper::CONTINUATION_UNKNOWN: + case ContinuationFlags::NONE: // Not handled; throw. throw aEx; // break; - case ucbhelper::CONTINUATION_APPROVE: + case ContinuationFlags::Approve: // Continue -> Overwrite. bReplaceExisting = true; break; - case ucbhelper::CONTINUATION_DISAPPROVE: + case ContinuationFlags::Disapprove: // Abort. throw ucb::CommandFailedException( OUString(), |