summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/criface.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/corereflection/criface.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/corereflection/criface.cxx')
-rw-r--r--stoc/source/corereflection/criface.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index 9ead12622f54..50290d0b5c6b 100644
--- a/stoc/source/corereflection/criface.cxx
+++ b/stoc/source/corereflection/criface.cxx
@@ -64,7 +64,7 @@ class IdlAttributeFieldImpl
, public XIdlField2
{
public:
- typelib_InterfaceAttributeTypeDescription * getAttributeTypeDescr()
+ typelib_InterfaceAttributeTypeDescription * getAttributeTypeDescr() const
{ return reinterpret_cast<typelib_InterfaceAttributeTypeDescription *>(getTypeDescr()); }
IdlAttributeFieldImpl( IdlReflectionServiceImpl * pReflection, const OUString & rName,
@@ -94,7 +94,7 @@ public:
private:
void checkException(
- uno_Any * exception, Reference< XInterface > const & context);
+ uno_Any * exception, Reference< XInterface > const & context) const;
};
// XInterface
@@ -301,7 +301,7 @@ void IdlAttributeFieldImpl::set( const Any & rObj, const Any & rValue )
}
void IdlAttributeFieldImpl::checkException(
- uno_Any * exception, Reference< XInterface > const & context)
+ uno_Any * exception, Reference< XInterface > const & context) const
{
if (exception != nullptr) {
Any e;
@@ -332,7 +332,7 @@ class IdlInterfaceMethodImpl
Sequence< ParamInfo > * _pParamInfos;
public:
- typelib_InterfaceMethodTypeDescription * getMethodTypeDescr()
+ typelib_InterfaceMethodTypeDescription * getMethodTypeDescr() const
{ return reinterpret_cast<typelib_InterfaceMethodTypeDescription *>(getTypeDescr()); }
IdlInterfaceMethodImpl( IdlReflectionServiceImpl * pReflection, const OUString & rName,