Kaydet (Commit) 85ccbb6f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Don't worry, Kai, it's still in the git repo

57558f61 "#i108938# - commented out unused
member fuction."

Change-Id: I4972d0ff98f8fa21de4fa6506bc1bcbc7088f6d3
üst 3ae2158d
...@@ -968,53 +968,6 @@ void DAVResourceAccess::LOCK( ...@@ -968,53 +968,6 @@ void DAVResourceAccess::LOCK(
while ( bRetry ); while ( bRetry );
} }
#if 0 // currently not used, but please don't remove code
// refresh existing lock.
sal_Int64 DAVResourceAccess::LOCK(
sal_Int64 nTimeout,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
throw ( DAVException )
{
initialize();
sal_Int64 nNewTimeout = 0;
int errorCount = 0;
bool bRetry;
do
{
bRetry = false;
try
{
DAVRequestHeaders aHeaders;
getUserRequestHeaders( xEnv,
getRequestURI(),
ucb::WebDAVHTTPMethod_LOCK,
aHeaders );
nNewTimeout = m_xSession->LOCK( getRequestURI(),
nTimeout,
DAVRequestEnvironment(
getRequestURI(),
new DAVAuthListener_Impl(
xEnv, m_aURL ),
aHeaders, xEnv ) );
}
catch ( const DAVException & e )
{
errorCount++;
bRetry = handleException( e, errorCount );
if ( !bRetry )
throw;
}
}
while ( bRetry );
return nNewTimeout;
}
#endif
void DAVResourceAccess::UNLOCK( void DAVResourceAccess::UNLOCK(
const uno::Reference< ucb::XCommandEnvironment > & xEnv ) const uno::Reference< ucb::XCommandEnvironment > & xEnv )
{ {
......
...@@ -201,14 +201,6 @@ public: ...@@ -201,14 +201,6 @@ public:
LOCK( css::ucb::Lock & inLock, LOCK( css::ucb::Lock & inLock,
const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv );
#if 0 // currently not used, but please don't remove code
// refresh existing lock.
sal_Int64
LOCK( sal_Int64 nTimeout,
const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv )
throw ( DAVException );
#endif
/// @throws DAVException /// @throws DAVException
void void
UNLOCK( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); UNLOCK( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv );
......
...@@ -923,53 +923,6 @@ void DAVResourceAccess::LOCK( ...@@ -923,53 +923,6 @@ void DAVResourceAccess::LOCK(
while ( bRetry ); while ( bRetry );
} }
#if 0 // currently not used, but please don't remove code
// refresh existing lock.
sal_Int64 DAVResourceAccess::LOCK(
sal_Int64 nTimeout,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
throw ( DAVException )
{
initialize();
sal_Int64 nNewTimeout = 0;
int errorCount = 0;
bool bRetry;
do
{
bRetry = false;
try
{
DAVRequestHeaders aHeaders;
getUserRequestHeaders( xEnv,
getRequestURI(),
ucb::WebDAVHTTPMethod_LOCK,
aHeaders );
nNewTimeout = m_xSession->LOCK( getRequestURI(),
nTimeout,
DAVRequestEnvironment(
getRequestURI(),
new DAVAuthListener_Impl(
xEnv, m_aURL ),
aHeaders, xEnv ) );
}
catch ( DAVException & e )
{
errorCount++;
bRetry = handleException( e, errorCount );
if ( !bRetry )
throw;
}
}
while ( bRetry );
return nNewTimeout;
}
#endif
void DAVResourceAccess::UNLOCK( void DAVResourceAccess::UNLOCK(
const uno::Reference< ucb::XCommandEnvironment > & xEnv ) const uno::Reference< ucb::XCommandEnvironment > & xEnv )
{ {
......
...@@ -177,14 +177,6 @@ public: ...@@ -177,14 +177,6 @@ public:
LOCK( css::ucb::Lock & inLock, LOCK( css::ucb::Lock & inLock,
const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv );
#if 0 // currently not used, but please don't remove code
// refresh existing lock.
sal_Int64
LOCK( sal_Int64 nTimeout,
const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv )
throw ( DAVException );
#endif
/// @throws DAVException /// @throws DAVException
void void
UNLOCK( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv ); UNLOCK( const css::uno::Reference< css::ucb::XCommandEnvironment > & xEnv );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment