summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-26 13:57:05 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2021-11-01 18:53:48 +0100
commit71a016b6db2c409730594d59c565f5ad4e99eb8b (patch)
treef307d9c97f0566a721617ddcde730db35c45d7ec /ucb
parent62069267024a35e323e8685c3808bf80d64ddb5c (diff)
ucb: webdav-curl: const-ness fixes
[ port of commit 95cfef300eb1a32d700479d2cefddc3fc4d0b37c ] Change-Id: Ic57525aa9a56c3d2f7f9cc5f0ca038bbfa8853a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123503 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-curl/DAVTypes.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.hxx b/ucb/source/ucp/webdav-curl/DAVTypes.hxx
index cf87b0b1cf45..e511bdcd31b7 100644
--- a/ucb/source/ucp/webdav-curl/DAVTypes.hxx
+++ b/ucb/source/ucp/webdav-curl/DAVTypes.hxx
@@ -95,41 +95,41 @@ namespace http_dav_ucp
virtual ~DAVOptions();
- bool isClass1() { return m_isClass1; };
+ bool isClass1() const { return m_isClass1; };
void setClass1( bool Class1 = true ) { m_isClass1 = Class1; };
- bool isClass2() { return m_isClass2; };
+ bool isClass2() const { return m_isClass2; };
void setClass2( bool Class2 = true ) { m_isClass2 = Class2; };
- bool isClass3() { return m_isClass3; };
+ bool isClass3() const { return m_isClass3; };
void setClass3( bool Class3 = true ) { m_isClass3 = Class3; };
- bool isHeadAllowed() { return m_isHeadAllowed; };
+ bool isHeadAllowed() const { return m_isHeadAllowed; };
void setHeadAllowed( bool HeadAllowed = true ) { m_isHeadAllowed = HeadAllowed; };
- sal_uInt32 getStaleTime() { return m_nStaleTime ; };
+ sal_uInt32 getStaleTime() const { return m_nStaleTime ; };
void setStaleTime( const sal_uInt32 nStaleTime ) { m_nStaleTime = nStaleTime; };
- sal_uInt32 getRequestedTimeLife() { return m_nRequestedTimeLife; };
+ sal_uInt32 getRequestedTimeLife() const { return m_nRequestedTimeLife; };
void setRequestedTimeLife( const sal_uInt32 nRequestedTimeLife ) { m_nRequestedTimeLife = nRequestedTimeLife; };
- const OUString & getURL() { return m_sURL; };
+ const OUString & getURL() const { return m_sURL; };
void setURL( const OUString & sURL ) { m_sURL = sURL; };
- const OUString & getRedirectedURL() { return m_sRedirectedURL; };
+ const OUString & getRedirectedURL() const { return m_sRedirectedURL; };
void setRedirectedURL( const OUString & sRedirectedURL ) { m_sRedirectedURL = sRedirectedURL; };
void setAllowedMethods( const OUString & aAllowedMethods ) { m_aAllowedMethods = aAllowedMethods; } ;
- const OUString & getAllowedMethods() { return m_aAllowedMethods; } ;
- bool isLockAllowed() { return ( m_aAllowedMethods.indexOf( "LOCK" ) != -1 ); };
+ const OUString & getAllowedMethods() const { return m_aAllowedMethods; } ;
+ bool isLockAllowed() const { return ( m_aAllowedMethods.indexOf( "LOCK" ) != -1 ); };
void setLocked( bool locked = true ) { m_isLocked = locked; } ;
- bool isLocked() { return m_isLocked; };
+ bool isLocked() const { return m_isLocked; };
- sal_uInt16 getHttpResponseStatusCode() { return m_nHttpResponseStatusCode; };
+ sal_uInt16 getHttpResponseStatusCode() const { return m_nHttpResponseStatusCode; };
void setHttpResponseStatusCode( const sal_uInt16 nHttpResponseStatusCode ) { m_nHttpResponseStatusCode = nHttpResponseStatusCode; };
- const OUString & getHttpResponseStatusText() { return m_sHttpResponseStatusText; };
+ const OUString & getHttpResponseStatusText() const { return m_sHttpResponseStatusText; };
void setHttpResponseStatusText( const OUString & rHttpResponseStatusText ) { m_sHttpResponseStatusText = rHttpResponseStatusText; };
void init() {