summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-29 00:10:42 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-29 00:11:30 +0900
commit3ac9b7af766f166a9cd8089ec49e54a48b31194b (patch)
tree8b2c68df4980e520d4463c9d2725e19ea3879a6a /ucb
parent1a5aae96bdb20e36a17d77ec60da874037544628 (diff)
removed dead code
Change-Id: Ic70d66befc90450aeb276d53f6da7e81aef85478
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav/webdavcontent.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx
index 50c182018d10..aaf3b9cad1c6 100644
--- a/ucb/source/ucp/webdav/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav/webdavcontent.cxx
@@ -1768,24 +1768,8 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
{
// OSL_FAIL( // "Content::setPropertyValues - PROPPATCH failed!" );
-#if 1
cancelCommandExecution( e, xEnv );
// unreachable
-#else
- // Note: PROPPATCH either sets ALL property values OR NOTHING.
-
- std::vector< sal_Int32 >::const_iterator it
- = aProppatchPropsPositions.begin();
- std::vector< sal_Int32 >::const_iterator end
- = aProppatchPropsPositions.end();
-
- while ( it != end )
- {
- // Set error.
- aRet[ (*it) ] <<= MapDAVException( e, sal_True );
- ++it;
- }
-#endif
}
}
@@ -3026,7 +3010,6 @@ uno::Any Content::MapDAVException( const DAVException & e, sal_Bool bWrite )
break;
case DAVException::DAV_LOCKED:
-#if 1
aException <<=
ucb::InteractiveLockingLockedException(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Locked!")),
@@ -3034,23 +3017,6 @@ uno::Any Content::MapDAVException( const DAVException & e, sal_Bool bWrite )
task::InteractionClassification_ERROR,
aURL,
sal_False ); // not SelfOwned
-#else
- {
- uno::Sequence< uno::Any > aArgs( 1 );
- aArgs[ 0 ] <<= beans::PropertyValue(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Uri")), -1,
- uno::makeAny(aURL),
- beans::PropertyState_DIRECT_VALUE);
-
- aException <<=
- ucb::InteractiveAugmentedIOException(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Locked!")),
- static_cast< cppu::OWeakObject * >( this ),
- task::InteractionClassification_ERROR,
- ucb::IOErrorCode_LOCKING_VIOLATION,
- aArgs );
- }
-#endif
break;
case DAVException::DAV_LOCKED_SELF: