diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 13:02:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-25 08:32:27 +0200 |
commit | 57c5f980835f834f6ea96c6f5ca841b5372aa61d (patch) | |
tree | 7851f29791296a006e936f1f323489b79c11e9b2 /include/comphelper/embeddedobjectcontainer.hxx | |
parent | 80a30219c4c553ff22979b73dd97a8869d87e488 (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/comphelper/embeddedobjectcontainer.hxx')
-rw-r--r-- | include/comphelper/embeddedobjectcontainer.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index eb4cd1308911..d838af94a3c1 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -80,18 +80,18 @@ public: OUString CreateUniqueObjectName(); // get a list of object names that have been added so far - css::uno::Sequence < OUString > GetObjectNames(); + css::uno::Sequence < OUString > GetObjectNames() const; // check for existence of objects at all - bool HasEmbeddedObjects(); + bool HasEmbeddedObjects() const; // check existence of an object - either by identity or by name bool HasEmbeddedObject( const OUString& ); - bool HasEmbeddedObject( const css::uno::Reference < css::embed::XEmbeddedObject >& ); + bool HasEmbeddedObject( const css::uno::Reference < css::embed::XEmbeddedObject >& ) const; bool HasInstantiatedEmbeddedObject( const OUString& ); // get the object name of an object - this is the persist name if the object has persistence - OUString GetEmbeddedObjectName( const css::uno::Reference < css::embed::XEmbeddedObject >& ); + OUString GetEmbeddedObjectName( const css::uno::Reference < css::embed::XEmbeddedObject >& ) const; // retrieve an embedded object by name that either has been added already or is available in the container storage css::uno::Reference<css::embed::XEmbeddedObject> GetEmbeddedObject(const OUString&, OUString const* pBaseURL = nullptr); |