summaryrefslogtreecommitdiff
path: root/stoc/source/implementationregistration/implreg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 09:03:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:21:13 +0100
commitdb378d64a9ca8675066fda31f3bd77dc37c52398 (patch)
treedc6c2c85b4996cff913c9f590eda19712bf9e309 /stoc/source/implementationregistration/implreg.cxx
parent9ee60319c675087486907707c8a2b18b5c9dc9fc (diff)
loplugin:constmethod in vcl and stoc
Change-Id: I7c02eecc16ca7cf89d9f7021116b0226885dbf06 Reviewed-on: https://gerrit.libreoffice.org/44044 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc/source/implementationregistration/implreg.cxx')
-rw-r--r--stoc/source/implementationregistration/implreg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx
index 4dae09f124f5..d9beabfe48b7 100644
--- a/stoc/source/implementationregistration/implreg.cxx
+++ b/stoc/source/implementationregistration/implreg.cxx
@@ -1243,7 +1243,7 @@ private: // helper methods
static void doRevoke( const Reference < XSimpleRegistry >& xDest,
const OUString& locationUrl );
// throw( InvalidRegistryException, RuntimeException )
- Reference< XSimpleRegistry > getRegistryFromServiceManager();
+ Reference< XSimpleRegistry > getRegistryFromServiceManager() const;
static Reference< XSimpleRegistry > createTemporarySimpleRegistry(
const Reference< XMultiComponentFactory > &rSMgr,
@@ -1281,7 +1281,7 @@ Sequence< OUString > ImplementationRegistration::getSupportedServiceNames()
return seqNames;
}
-Reference< XSimpleRegistry > ImplementationRegistration::getRegistryFromServiceManager()
+Reference< XSimpleRegistry > ImplementationRegistration::getRegistryFromServiceManager() const
{
Reference < XPropertySet > xPropSet( m_xSMgr, UNO_QUERY );
Reference < XSimpleRegistry > xRegistry;