summaryrefslogtreecommitdiff
path: root/include/ucbhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-24 13:02:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 08:32:27 +0200
commit57c5f980835f834f6ea96c6f5ca841b5372aa61d (patch)
tree7851f29791296a006e936f1f323489b79c11e9b2 /include/ucbhelper
parent80a30219c4c553ff22979b73dd97a8869d87e488 (diff)
loplugin:constmethod in comphelper,ucbhelper
Change-Id: I27a860fbbedd2174c60c199af18cae76e02abc25 Reviewed-on: https://gerrit.libreoffice.org/43759 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/ucbhelper')
-rw-r--r--include/ucbhelper/content.hxx2
-rw-r--r--include/ucbhelper/interactionrequest.hxx2
-rw-r--r--include/ucbhelper/resultset.hxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx
index eec9d2d26926..3d48b70915f0 100644
--- a/include/ucbhelper/content.hxx
+++ b/include/ucbhelper/content.hxx
@@ -663,7 +663,7 @@ public:
bool bMajorVersion = false,
const OUString & rCommentVersion = OUString( ),
OUString* pResultURL = nullptr,
- const OUString & rDocumentId = OUString( ) );
+ const OUString & rDocumentId = OUString( ) ) const;
/**
* This method lock the resource.
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx
index 7c2a5f565cad..5481797ff4b5 100644
--- a/include/ucbhelper/interactionrequest.hxx
+++ b/include/ucbhelper/interactionrequest.hxx
@@ -548,7 +548,7 @@ public:
// XAuthFallback
virtual void SAL_CALL setCode( const OUString& code ) override;
/// @throws css::uno::RuntimeException
- const OUString& SAL_CALL getCode();
+ const OUString& SAL_CALL getCode() const;
};
diff --git a/include/ucbhelper/resultset.hxx b/include/ucbhelper/resultset.hxx
index a71afddabb5f..906b7c9af103 100644
--- a/include/ucbhelper/resultset.hxx
+++ b/include/ucbhelper/resultset.hxx
@@ -259,7 +259,7 @@ public:
* @param rEvt is a property change event.
*/
void propertyChanged(
- const css::beans::PropertyChangeEvent& rEvt );
+ const css::beans::PropertyChangeEvent& rEvt ) const;
/**
* This method should be called by the data supplier for the result set
@@ -283,7 +283,7 @@ public:
* @return a sequence of properties.
*/
const css::uno::Sequence< css::beans::Property >&
- getProperties();
+ getProperties() const;
/**
* This method returns the environment to use for interactions, progress
@@ -292,7 +292,7 @@ public:
* @return an environment or an empty reference.
*/
const css::uno::Reference< css::ucb::XCommandEnvironment >&
- getEnvironment();
+ getEnvironment() const;
};