diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-26 12:50:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-26 14:50:19 +0200 |
commit | d8f8b4375998b62431c8605004e7c7d5c921ccc9 (patch) | |
tree | 0eb227ba99c31e41224de134ba8d925536473953 /ucb | |
parent | c04a8576f07cb837439959b8bdbb8b620684d508 (diff) |
loplugin:constfields in ucb
Change-Id: I81a4b6241d6ff2e04903ddf2955463514d04ac0b
Reviewed-on: https://gerrit.libreoffice.org/60986
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
38 files changed, 56 insertions, 56 deletions
diff --git a/ucb/source/core/identify.hxx b/ucb/source/core/identify.hxx index 3dbf3ed380c1..560e2b81f463 100644 --- a/ucb/source/core/identify.hxx +++ b/ucb/source/core/identify.hxx @@ -37,7 +37,7 @@ public: virtual OUString SAL_CALL getContentProviderScheme() override; private: - OUString m_aContentId; + OUString const m_aContentId; OUString m_aProviderScheme; }; diff --git a/ucb/source/core/ucbprops.hxx b/ucb/source/core/ucbprops.hxx index 03c26f70b410..74b1761841f4 100644 --- a/ucb/source/core/ucbprops.hxx +++ b/ucb/source/core/ucbprops.hxx @@ -39,7 +39,7 @@ class UcbPropertiesManager : public cppu::WeakImplHelper < css::lang::XServiceInfo, css::beans::XPropertySetInfo > { - css::uno::Sequence< css::beans::Property > m_pProps; + css::uno::Sequence< css::beans::Property > const m_pProps; private: bool queryProperty( const OUString& rName, diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index e4b13acaa379..74b4771b60ee 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -1059,7 +1059,7 @@ struct PersistentPropertySet_Impl { rtl::Reference<PropertySetRegistry> m_pCreator; rtl::Reference<PropertySetInfo_Impl> m_pInfo; - OUString m_aKey; + OUString const m_aKey; OUString m_aFullKey; osl::Mutex m_aMutex; std::unique_ptr<OInterfaceContainerHelper2> m_pDisposeEventListeners; diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 9aa77f91c608..147df9c760ee 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -71,7 +71,7 @@ struct SortListData { bool mbModified; sal_IntPtr mnCurPos; - sal_IntPtr mnOldPos; + sal_IntPtr const mnOldPos; explicit SortListData( sal_IntPtr nPos ); }; diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx index 77fe4366f2aa..90bc9fe584a1 100644 --- a/ucb/source/ucp/cmis/auth_provider.hxx +++ b/ucb/source/ucp/cmis/auth_provider.hxx @@ -28,8 +28,8 @@ namespace cmis { const css::uno::Reference< css::ucb::XCommandEnvironment>& m_xEnv; static css::uno::WeakReference< css::ucb::XCommandEnvironment> sm_xEnv; - OUString m_sUrl; - OUString m_sBindingUrl; + OUString const m_sUrl; + OUString const m_sBindingUrl; public: AuthProvider ( const css::uno::Reference< css::ucb::XCommandEnvironment>& xEnv, diff --git a/ucb/source/ucp/cmis/certvalidation_handler.hxx b/ucb/source/ucp/cmis/certvalidation_handler.hxx index 1554785873cf..e5d40f0315d6 100644 --- a/ucb/source/ucp/cmis/certvalidation_handler.hxx +++ b/ucb/source/ucp/cmis/certvalidation_handler.hxx @@ -30,7 +30,7 @@ namespace cmis { const css::uno::Reference< css::ucb::XCommandEnvironment>& m_xEnv; const css::uno::Reference< css::uno::XComponentContext >& m_xContext; - OUString m_sHostname; + OUString const m_sHostname; public: CertValidationHandler ( diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 54aa3fa66873..6445091462f9 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -69,11 +69,11 @@ private: OUString m_sObjectPath; OUString m_sObjectId; OUString m_sURL; - cmis::URL m_aURL; + cmis::URL const m_aURL; // Members to be set for non-persistent content bool m_bTransient; - bool m_bIsFolder; + bool const m_bIsFolder; libcmis::ObjectTypePtr m_pObjectType; std::map< std::string, libcmis::PropertyPtr > m_pObjectProps; diff --git a/ucb/source/ucp/cmis/cmis_datasupplier.hxx b/ucb/source/ucp/cmis/cmis_datasupplier.hxx index f7cad8774dc4..f5792a450ff0 100644 --- a/ucb/source/ucp/cmis/cmis_datasupplier.hxx +++ b/ucb/source/ucp/cmis/cmis_datasupplier.hxx @@ -35,7 +35,7 @@ namespace cmis { private: ChildrenProvider* m_pChildrenProvider; - sal_Int32 mnOpenMode; + sal_Int32 const mnOpenMode; bool mbCountFinal; void getData(); std::vector< ResultListEntry > maResults; diff --git a/ucb/source/ucp/cmis/cmis_repo_content.hxx b/ucb/source/ucp/cmis/cmis_repo_content.hxx index 241d9fb44853..3475172aa112 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.hxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.hxx @@ -49,8 +49,8 @@ class RepoContent : public ::ucbhelper::ContentImplHelper, public ChildrenProvider { private: - ContentProvider* m_pProvider; - URL m_aURL; + ContentProvider* const m_pProvider; + URL const m_aURL; OUString m_sRepositoryId; std::vector< libcmis::RepositoryPtr > m_aRepositories; diff --git a/ucb/source/ucp/cmis/cmis_resultset.hxx b/ucb/source/ucp/cmis/cmis_resultset.hxx index e8d57c199e1f..657c50325f0f 100644 --- a/ucb/source/ucp/cmis/cmis_resultset.hxx +++ b/ucb/source/ucp/cmis/cmis_resultset.hxx @@ -19,7 +19,7 @@ namespace cmis class DynamicResultSet : public ::ucbhelper::ResultSetImplHelper { - ChildrenProvider* m_pChildrenProvider; + ChildrenProvider* const m_pChildrenProvider; css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv; private: diff --git a/ucb/source/ucp/file/bc.hxx b/ucb/source/ucp/file/bc.hxx index 8084aa0d04b1..d3fba7635af2 100644 --- a/ucb/source/ucp/file/bc.hxx +++ b/ucb/source/ucp/file/bc.hxx @@ -226,7 +226,7 @@ namespace fileaccess { JustInserted = 2, Deleted = 4, FullFeatured = 8 }; - bool m_bFolder; + bool const m_bFolder; sal_uInt16 m_nState; osl::Mutex m_aMutex; diff --git a/ucb/source/ucp/file/filinsreq.hxx b/ucb/source/ucp/file/filinsreq.hxx index 9d115bbfa0e7..302c7fcc59d0 100644 --- a/ucb/source/ucp/file/filinsreq.hxx +++ b/ucb/source/ucp/file/filinsreq.hxx @@ -129,8 +129,8 @@ class XInteractionSupplyNameImpl : public cppu::WeakImplHelper< private: - XInteractionSupplyNameImpl* p1; - XInteractionAbortImpl* p2; + XInteractionSupplyNameImpl* const p1; + XInteractionAbortImpl* const p2; sal_Int32 m_nErrorCode,m_nMinorError; css::uno::Reference<css::task::XInteractionRequest> m_xRequest; diff --git a/ucb/source/ucp/file/filrow.hxx b/ucb/source/ucp/file/filrow.hxx index 589a5ad49f45..d4008ff8110f 100644 --- a/ucb/source/ucp/file/filrow.hxx +++ b/ucb/source/ucp/file/filrow.hxx @@ -102,7 +102,7 @@ namespace fileaccess { osl::Mutex m_aMutex; css::uno::Sequence< css::uno::Any > m_aValueMap; bool m_nWasNull; - TaskManager* m_pMyShell; + TaskManager* const m_pMyShell; css::uno::Reference< css::script::XTypeConverter > m_xTypeConverter; }; diff --git a/ucb/source/ucp/file/filrset.hxx b/ucb/source/ucp/file/filrset.hxx index 61322afe7be5..0c9f57acc1fb 100644 --- a/ucb/source/ucp/file/filrset.hxx +++ b/ucb/source/ucp/file/filrset.hxx @@ -422,7 +422,7 @@ class XResultSet_impl : public Notifier, bool m_nIsOpen; sal_Int32 m_nRow; bool m_nWasNull; - sal_Int32 m_nOpenMode; + sal_Int32 const m_nOpenMode; bool m_bRowCountFinal; typedef std::vector< css::uno::Reference< css::ucb::XContentIdentifier > > IdentSet; @@ -434,8 +434,8 @@ class XResultSet_impl : public Notifier, const OUString m_aBaseDirectory; osl::Directory m_aFolder; - css::uno::Sequence< css::beans::Property > m_sProperty; - css::uno::Sequence< css::ucb::NumberedSortingInfo > m_sSortingInfo; + css::uno::Sequence< css::beans::Property > const m_sProperty; + css::uno::Sequence< css::ucb::NumberedSortingInfo > const m_sSortingInfo; osl::Mutex m_aMutex; osl::Mutex m_aEventListenerMutex; diff --git a/ucb/source/ucp/file/filtask.hxx b/ucb/source/ucp/file/filtask.hxx index d8110301cc60..75e1aa70a876 100644 --- a/ucb/source/ucp/file/filtask.hxx +++ b/ucb/source/ucp/file/filtask.hxx @@ -174,13 +174,13 @@ namespace fileaccess class MyProperty { private: - OUString PropertyName; - sal_Int32 Handle; - bool isNative; - css::uno::Type Typ; // Duplicates information in Value + OUString const PropertyName; + sal_Int32 const Handle; + bool const isNative; + css::uno::Type const Typ; // Duplicates information in Value css::uno::Any Value; css::beans::PropertyState State; - sal_Int16 Attributes; + sal_Int16 const Attributes; public: explicit MyProperty( const OUString& thePropertyName ); MyProperty( bool theIsNative, diff --git a/ucb/source/ucp/ftp/ftpcontent.hxx b/ucb/source/ucp/ftp/ftpcontent.hxx index a44b73ffc392..f702fb84b3fd 100644 --- a/ucb/source/ucp/ftp/ftpcontent.hxx +++ b/ucb/source/ucp/ftp/ftpcontent.hxx @@ -113,7 +113,7 @@ private: FTPURL m_aFTPURL; bool m_bInserted; bool m_bTitleSet; - css::ucb::ContentInfo m_aInfo; + css::ucb::ContentInfo const m_aInfo; virtual css::uno::Sequence< css::beans::Property > getProperties( const css::uno::Reference< diff --git a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx index 670f9fde74dc..9ce4848b7869 100644 --- a/ucb/source/ucp/ftp/ftpcontentidentifier.hxx +++ b/ucb/source/ucp/ftp/ftpcontentidentifier.hxx @@ -80,7 +80,7 @@ namespace ftp { private: - OUString m_ident; + OUString const m_ident; }; } diff --git a/ucb/source/ucp/ftp/ftpintreq.hxx b/ucb/source/ucp/ftp/ftpintreq.hxx index 04b57de82aed..b27d989ecada 100644 --- a/ucb/source/ucp/ftp/ftpintreq.hxx +++ b/ucb/source/ucp/ftp/ftpintreq.hxx @@ -76,8 +76,8 @@ namespace ftp { private: - XInteractionApproveImpl* p1; - XInteractionDisapproveImpl* p2; + XInteractionApproveImpl* const p1; + XInteractionDisapproveImpl* const p2; css::uno::Reference<css::task::XInteractionRequest> m_xRequest; diff --git a/ucb/source/ucp/ftp/ftploaderthread.hxx b/ucb/source/ucp/ftp/ftploaderthread.hxx index 0919c9b23b06..8718e47f52a7 100644 --- a/ucb/source/ucp/ftp/ftploaderthread.hxx +++ b/ucb/source/ucp/ftp/ftploaderthread.hxx @@ -50,7 +50,7 @@ namespace ftp { FTPLoaderThread(const FTPLoaderThread&) = delete; FTPLoaderThread& operator=(const FTPLoaderThread&) = delete; - oslThreadKey m_threadKey; + oslThreadKey const m_threadKey; }; // end class FTPLoaderThread diff --git a/ucb/source/ucp/ftp/ftpresultsetbase.hxx b/ucb/source/ucp/ftp/ftpresultsetbase.hxx index 94105862e55e..ba4c5343c56f 100644 --- a/ucb/source/ucp/ftp/ftpresultsetbase.hxx +++ b/ucb/source/ucp/ftp/ftpresultsetbase.hxx @@ -396,7 +396,7 @@ namespace ftp { ItemSet m_aItems; std::vector<OUString> m_aPath; - css::uno::Sequence< css::beans::Property > + css::uno::Sequence< css::beans::Property > const m_sProperty; osl::Mutex m_aMutex; diff --git a/ucb/source/ucp/ftp/ftpresultsetfactory.hxx b/ucb/source/ucp/ftp/ftpresultsetfactory.hxx index 624f0240a309..d7f6c5c939bc 100644 --- a/ucb/source/ucp/ftp/ftpresultsetfactory.hxx +++ b/ucb/source/ucp/ftp/ftpresultsetfactory.hxx @@ -46,8 +46,8 @@ public: private: css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::ucb::XContentProvider > m_xProvider; - css::uno::Sequence< css::beans::Property > m_seq; - std::vector<FTPDirentry> m_dirvec; + css::uno::Sequence< css::beans::Property > const m_seq; + std::vector<FTPDirentry> const m_dirvec; }; } diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx index a4babdc5dea5..55c61bf17641 100644 --- a/ucb/source/ucp/ftp/ftpurl.hxx +++ b/ucb/source/ucp/ftp/ftpurl.hxx @@ -62,7 +62,7 @@ namespace ftp { private: - sal_Int32 n_err; + sal_Int32 const n_err; }; class CurlInput { diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx index 56196295025f..a60ae47a738c 100644 --- a/ucb/source/ucp/gio/gio_content.hxx +++ b/ucb/source/ucp/gio/gio_content.hxx @@ -64,7 +64,7 @@ class ContentProvider; class Content : public ::ucbhelper::ContentImplHelper, public css::ucb::XContentCreator { private: - ContentProvider *m_pProvider; + ContentProvider * const m_pProvider; GFile* mpFile; GFileInfo *mpInfo; bool mbTransient; diff --git a/ucb/source/ucp/gio/gio_datasupplier.hxx b/ucb/source/ucp/gio/gio_datasupplier.hxx index 4ff3047ec4c8..c2558d0e8f67 100644 --- a/ucb/source/ucp/gio/gio_datasupplier.hxx +++ b/ucb/source/ucp/gio/gio_datasupplier.hxx @@ -35,7 +35,7 @@ struct ResultListEntry css::uno::Reference< css::ucb::XContentIdentifier > xId; css::uno::Reference< css::ucb::XContent > xContent; css::uno::Reference< css::sdbc::XRow > xRow; - GFileInfo *pInfo; + GFileInfo * const pInfo; explicit ResultListEntry( GFileInfo *pInInfo ) : pInfo(pInInfo) { @@ -54,7 +54,7 @@ class DataSupplier : public ucbhelper::ResultSetDataSupplier { private: rtl::Reference< ::gio::Content > mxContent; - sal_Int32 mnOpenMode; + sal_Int32 const mnOpenMode; bool mbCountFinal; bool getData(); ResultList maResults; diff --git a/ucb/source/ucp/gio/gio_inputstream.hxx b/ucb/source/ucp/gio/gio_inputstream.hxx index 9cee1c54653c..2ee4eb03e961 100644 --- a/ucb/source/ucp/gio/gio_inputstream.hxx +++ b/ucb/source/ucp/gio/gio_inputstream.hxx @@ -34,7 +34,7 @@ namespace gio class InputStream: public cppu::WeakImplHelper<css::io::XInputStream> { private: - GFileInputStream *mpStream; + GFileInputStream * const mpStream; public: explicit InputStream ( GFileInputStream *pStream ); diff --git a/ucb/source/ucp/gio/gio_outputstream.hxx b/ucb/source/ucp/gio/gio_outputstream.hxx index 1b6cf6ffd273..689cb38dd068 100644 --- a/ucb/source/ucp/gio/gio_outputstream.hxx +++ b/ucb/source/ucp/gio/gio_outputstream.hxx @@ -38,7 +38,7 @@ class OutputStream : public Seekable { private: - GFileOutputStream *mpStream; + GFileOutputStream * const mpStream; public: explicit OutputStream ( GFileOutputStream *pStream ); diff --git a/ucb/source/ucp/gio/gio_seekable.hxx b/ucb/source/ucp/gio/gio_seekable.hxx index 0d3a62dccde2..1c3bd493805f 100644 --- a/ucb/source/ucp/gio/gio_seekable.hxx +++ b/ucb/source/ucp/gio/gio_seekable.hxx @@ -37,7 +37,7 @@ class Seekable : public css::io::XTruncate, public ::cppu::OWeakObject { private: - GSeekable *mpStream; + GSeekable * const mpStream; public: explicit Seekable( GSeekable *pStream ); virtual ~Seekable() override; diff --git a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx index 1c031261323a..2177653c7ad6 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasource.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasource.cxx @@ -83,7 +83,7 @@ class HierarchyDataAccess : public cppu::OWeakObject, uno::Reference< container::XElementAccess > m_xCfgEA; uno::Reference< util::XChangesNotifier > m_xCfgCN; uno::Reference< util::XChangesBatch > m_xCfgCB; - bool m_bReadOnly; + bool const m_bReadOnly; public: HierarchyDataAccess( const uno::Reference< diff --git a/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx b/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx index a1852326c14a..f7d9a8daec73 100644 --- a/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx +++ b/ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx @@ -48,7 +48,7 @@ struct ResultListEntry uno::Reference< ucb::XContentIdentifier > xId; uno::Reference< ucb::XContent > xContent; uno::Reference< sdbc::XRow > xRow; - HierarchyEntryData aData; + HierarchyEntryData const aData; explicit ResultListEntry( const HierarchyEntryData& rEntry ) : aData( rEntry ) {} }; @@ -70,8 +70,8 @@ struct DataSupplier_Impl rtl::Reference< HierarchyContent > m_xContent; uno::Reference< uno::XComponentContext > m_xContext; HierarchyEntry m_aFolder; - HierarchyEntry::iterator m_aIterator; - sal_Int32 m_nOpenMode; + HierarchyEntry::iterator const m_aIterator; + sal_Int32 const m_nOpenMode; bool m_bCountFinal; DataSupplier_Impl( diff --git a/ucb/source/ucp/package/pkgdatasupplier.cxx b/ucb/source/ucp/package/pkgdatasupplier.cxx index 29711cb97414..399250674eed 100644 --- a/ucb/source/ucp/package/pkgdatasupplier.cxx +++ b/ucb/source/ucp/package/pkgdatasupplier.cxx @@ -50,7 +50,7 @@ namespace package_ucp struct ResultListEntry { - OUString aURL; + OUString const aURL; uno::Reference< ucb::XContentIdentifier > xId; uno::Reference< ucb::XContent > xContent; uno::Reference< sdbc::XRow > xRow; diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx index 74bb18639b44..4a550138dcba 100644 --- a/ucb/source/ucp/package/pkgprovider.cxx +++ b/ucb/source/ucp/package/pkgprovider.cxx @@ -53,7 +53,7 @@ class Package : public cppu::OWeakObject, { friend class ContentProvider; - OUString m_aName; + OUString const m_aName; uno::Reference< container::XHierarchicalNameAccess > m_xNA; ContentProvider* m_pOwner; diff --git a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx index 307eda58dca7..6f4c65582ec1 100644 --- a/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx +++ b/ucb/source/ucp/tdoc/tdoc_datasupplier.cxx @@ -46,7 +46,7 @@ namespace tdoc_ucp struct ResultListEntry { - OUString aURL; + OUString const aURL; uno::Reference< ucb::XContentIdentifier > xId; uno::Reference< ucb::XContent > xContent; uno::Reference< sdbc::XRow > xRow; diff --git a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx index b949c4bb296b..536c4e5b6f10 100644 --- a/ucb/source/ucp/tdoc/tdoc_stgelems.hxx +++ b/ucb/source/ucp/tdoc/tdoc_stgelems.hxx @@ -173,7 +173,7 @@ private: css::uno::Reference< css::embed::XTransactedObject > m_xWrappedTransObj; css::uno::Reference< css::lang::XComponent > m_xWrappedComponent; css::uno::Reference< css::lang::XTypeProvider > m_xWrappedTypeProv; - bool m_bIsDocumentStorage; + bool const m_bIsDocumentStorage; StorageElementFactory::StorageMap::iterator m_aContainerIt; diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.hxx b/ucb/source/ucp/webdav-neon/DAVTypes.hxx index 3f1d6ec1b3a2..6bb4d15a6d38 100644 --- a/ucb/source/ucp/webdav-neon/DAVTypes.hxx +++ b/ucb/source/ucp/webdav-neon/DAVTypes.hxx @@ -198,9 +198,9 @@ namespace webdav_ucp struct ProppatchValue { - ProppatchOperation operation; - OUString name; - css::uno::Any value; + ProppatchOperation const operation; + OUString const name; + css::uno::Any const value; ProppatchValue( const ProppatchOperation o, const OUString & n, diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx index 7a76a321ced6..0cee2063fd31 100644 --- a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx +++ b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx @@ -63,7 +63,7 @@ typedef std::map< NeonLock *, LockInfo > LockInfoMap; class NeonLockStore { osl::Mutex m_aMutex; - ne_lock_store * m_pNeonLockStore; + ne_lock_store * const m_pNeonLockStore; rtl::Reference< TickerThread > m_pTickerThread; LockInfoMap m_aLockInfoMap; diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 0cc1f63406bc..2adebaacd3fd 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -52,9 +52,9 @@ private: OUString m_aProxyName; sal_Int32 m_nPort; sal_Int32 m_nProxyPort; - css::uno::Sequence< css::beans::NamedValue > m_aFlags; + css::uno::Sequence< css::beans::NamedValue > const m_aFlags; HttpSession * m_pHttpSession; - void * m_pRequestData; + void * const m_pRequestData; const ucbhelper::InternetProxyDecider & m_rProxyDecider; // @@@ This should really be per-request data. But Neon currently diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.hxx b/ucb/source/ucp/webdav-neon/webdavcontent.hxx index 4eb700d91d36..2d56c02b42c3 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.hxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.hxx @@ -94,7 +94,7 @@ class Content : public ::ucbhelper::ContentImplHelper, ResourceType m_eResourceTypeForLocks; ContentProvider* m_pProvider; // No need for a ref, base class holds object bool m_bTransient; - bool m_bCollection; + bool const m_bCollection; bool m_bDidGetOrHead; std::vector< OUString > m_aFailedPropNames; // Options Cache lifetime diff --git a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx index 0daa26265611..c933929bc8c7 100644 --- a/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx +++ b/ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx @@ -87,7 +87,7 @@ struct DataSupplier_Impl ResultList m_Results; rtl::Reference< Content > m_xContent; uno::Reference< uno::XComponentContext > m_xContext; - sal_Int32 m_nOpenMode; + sal_Int32 const m_nOpenMode; bool m_bCountFinal; bool m_bThrowException; |