diff options
Diffstat (limited to 'ucb/source')
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.cxx | 8 | ||||
-rw-r--r-- | ucb/source/cacher/cachedcontentresultset.hxx | 8 | ||||
-rw-r--r-- | ucb/source/sorter/sortresult.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_url.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/cmis/cmis_url.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filinpstr.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrow.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrow.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filrset.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/file/filstr.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.hxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.hxx | 2 |
13 files changed, 19 insertions, 19 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx index f5563c9310d6..bece903b57b3 100644 --- a/ucb/source/cacher/cachedcontentresultset.cxx +++ b/ucb/source/cacher/cachedcontentresultset.cxx @@ -146,7 +146,7 @@ void CachedContentResultSet::CCRS_Cache } bool CachedContentResultSet::CCRS_Cache - ::hasRow( sal_Int32 row ) + ::hasRow( sal_Int32 row ) const { if( !m_pResult ) return false; @@ -184,7 +184,7 @@ bool CachedContentResultSet::CCRS_Cache } bool CachedContentResultSet::CCRS_Cache - ::hasCausedException( sal_Int32 nRow ) + ::hasCausedException( sal_Int32 nRow ) const { if( !m_pResult ) return false; @@ -840,14 +840,14 @@ void CachedContentResultSet } bool CachedContentResultSet - ::impl_isKnownValidPosition( sal_Int32 nRow ) + ::impl_isKnownValidPosition( sal_Int32 nRow ) const { return m_nKnownCount && nRow && nRow <= m_nKnownCount; } bool CachedContentResultSet - ::impl_isKnownInvalidPosition( sal_Int32 nRow ) + ::impl_isKnownInvalidPosition( sal_Int32 nRow ) const { if( !nRow ) return true; diff --git a/ucb/source/cacher/cachedcontentresultset.hxx b/ucb/source/cacher/cachedcontentresultset.hxx index ee3b737d6f6f..efc4966f3046 100644 --- a/ucb/source/cacher/cachedcontentresultset.hxx +++ b/ucb/source/cacher/cachedcontentresultset.hxx @@ -78,10 +78,10 @@ class CachedContentResultSet const css::ucb::FetchResult& rResult ); bool - hasRow( sal_Int32 nRow ); + hasRow( sal_Int32 nRow ) const; bool - hasCausedException( sal_Int32 nRow ); + hasCausedException( sal_Int32 nRow ) const; sal_Int32 getMaxRow() const; @@ -165,10 +165,10 @@ private: , sal_Int32 nFetchDirection ); bool - impl_isKnownValidPosition( sal_Int32 nRow ); + impl_isKnownValidPosition( sal_Int32 nRow ) const; bool - impl_isKnownInvalidPosition( sal_Int32 nRow ); + impl_isKnownInvalidPosition( sal_Int32 nRow ) const; void impl_changeRowCount( sal_Int32 nOld, sal_Int32 nNew ); diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx index bbef157df5d0..9593e7699b7c 100644 --- a/ucb/source/sorter/sortresult.hxx +++ b/ucb/source/sorter/sortresult.hxx @@ -74,7 +74,7 @@ class EventList public: EventList(){} - sal_uInt32 Count() { return static_cast<sal_uInt32>(maData.size()); } + sal_uInt32 Count() const { return static_cast<sal_uInt32>(maData.size()); } void AddEvent( sal_IntPtr nType, sal_Int32 nPos ); void Insert( const css::ucb::ListAction& rAction ) { maData.push_back( rAction ); } diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx index 38c63df8bf9f..5a253757d180 100644 --- a/ucb/source/ucp/cmis/cmis_url.cxx +++ b/ucb/source/ucp/cmis/cmis_url.cxx @@ -55,7 +55,7 @@ namespace cmis m_sUser = sUser; } - OUString URL::asString( ) + OUString URL::asString( ) const { OUString sUrl; // Related tdf#96174, can no longer save on Google Drive diff --git a/ucb/source/ucp/cmis/cmis_url.hxx b/ucb/source/ucp/cmis/cmis_url.hxx index 4d7ac99f77d0..5c5240ee5d1e 100644 --- a/ucb/source/ucp/cmis/cmis_url.hxx +++ b/ucb/source/ucp/cmis/cmis_url.hxx @@ -35,7 +35,7 @@ namespace cmis void setObjectId( const OUString& sId ); void setUsername( const OUString& sUser ); - OUString asString( ); + OUString asString( ) const; }; } diff --git a/ucb/source/ucp/file/filinpstr.hxx b/ucb/source/ucp/file/filinpstr.hxx index 98ec32b755d0..971872fdbb7f 100644 --- a/ucb/source/ucp/file/filinpstr.hxx +++ b/ucb/source/ucp/file/filinpstr.hxx @@ -42,7 +42,7 @@ namespace fileaccess { * Returns an error code as given by filerror.hxx */ - sal_Int32 CtorSuccess() { return m_nErrorCode;} + sal_Int32 CtorSuccess() const { return m_nErrorCode;} sal_Int32 getMinorError() const { return m_nMinorErrorCode;} virtual sal_Int32 SAL_CALL diff --git a/ucb/source/ucp/file/filrow.cxx b/ucb/source/ucp/file/filrow.cxx index e5957d5afee3..8da0b4d52b94 100644 --- a/ucb/source/ucp/file/filrow.cxx +++ b/ucb/source/ucp/file/filrow.cxx @@ -276,7 +276,7 @@ XRow_impl::getArray( } bool -XRow_impl::isIndexOutOfBounds(sal_Int32 nIndex) +XRow_impl::isIndexOutOfBounds(sal_Int32 nIndex) const { return nIndex < 1 || m_aValueMap.getLength() < nIndex; } diff --git a/ucb/source/ucp/file/filrow.hxx b/ucb/source/ucp/file/filrow.hxx index dbaf7c837787..1a33565a6aa1 100644 --- a/ucb/source/ucp/file/filrow.hxx +++ b/ucb/source/ucp/file/filrow.hxx @@ -104,7 +104,7 @@ namespace fileaccess { TaskManager* m_pMyShell; css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter; - bool isIndexOutOfBounds( sal_Int32 nIndex ); + bool isIndexOutOfBounds( sal_Int32 nIndex ) const; template<typename T> T getValue(sal_Int32 columnIndex); }; diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx index 4961ce7250bf..07fa1343faf7 100644 --- a/ucb/source/ucp/file/filrset.hxx +++ b/ucb/source/ucp/file/filrset.hxx @@ -56,7 +56,7 @@ class XResultSet_impl : virtual ~XResultSet_impl() override; - sal_Int32 CtorSuccess() { return m_nErrorCode;} + sal_Int32 CtorSuccess() const { return m_nErrorCode;} sal_Int32 getMinorError() const { return m_nMinorErrorCode;} // XEventListener diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx index e448f17052ab..ad6c39964448 100644 --- a/ucb/source/ucp/file/filstr.hxx +++ b/ucb/source/ucp/file/filstr.hxx @@ -52,7 +52,7 @@ class XStream_impl : public cppu::WeakImplHelper< * Returns an error code as given by filerror.hxx */ - sal_Int32 CtorSuccess() { return m_nErrorCode;} + sal_Int32 CtorSuccess() const { return m_nErrorCode;} sal_Int32 getMinorError() const { return m_nMinorErrorCode;} virtual ~XStream_impl() override; diff --git a/ucb/source/ucp/tdoc/tdoc_content.hxx b/ucb/source/ucp/tdoc/tdoc_content.hxx index 9a920c1bb376..1412ebd9a846 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.hxx +++ b/ucb/source/ucp/tdoc/tdoc_content.hxx @@ -114,7 +114,7 @@ private: virtual OUString getParentURL() override; static bool hasData( ContentProvider const * pProvider, const Uri & rUri ); - bool hasData( const Uri & rUri ) { return hasData( m_pProvider, rUri ); } + bool hasData( const Uri & rUri ) const { return hasData( m_pProvider, rUri ); } static bool loadData( ContentProvider const * pProvider, const Uri & rUri, diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 3c5dbf0398ca..979537a52e28 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -2310,7 +2310,7 @@ NeonSession::getDataFromInputStream( } bool -NeonSession::isDomainMatch( const OUString& certHostName ) +NeonSession::isDomainMatch( const OUString& certHostName ) const { OUString hostName = getHostName(); diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 816bae09b8e0..615f750a11aa 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -202,7 +202,7 @@ public: const void * getRequestData() const { return m_pRequestData; } - bool isDomainMatch( const OUString& certHostName ); + bool isDomainMatch( const OUString& certHostName ) const; int CertificationNotify(const ne_ssl_certificate *cert); |