summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 12:57:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 13:45:36 +0200
commit3dcf6dfceee58360501396390d78c006351aef47 (patch)
tree6e8cea499ee3a9543a03fd4a5321f5153c76cd65 /comphelper
parent3b35bcf25fce566f91d084574650181ea791dff8 (diff)
remove unnecessary use of 'this->'
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4 Reviewed-on: https://gerrit.libreoffice.org/40671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/eventattachermgr/eventattachermgr.cxx14
-rw-r--r--comphelper/source/xml/attributelist.cxx6
2 files changed, 10 insertions, 10 deletions
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index 0807377bb301..af3725ae2eb2 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -431,7 +431,7 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvents
// Examine the index and apply the array
std::deque< AttachedObject_Impl > aList = implCheckIndex( nIndex )->aObjList;
for( const auto& rObj : aList )
- this->detach( nIndex, rObj.xTarget );
+ detach( nIndex, rObj.xTarget );
const ScriptEventDescriptor* pArray = ScriptEvents.getConstArray();
sal_Int32 nLen = ScriptEvents.getLength();
@@ -439,7 +439,7 @@ void SAL_CALL ImplEventAttacherManager::registerScriptEvents
registerScriptEvent( nIndex, pArray[ i ] );
for( const auto& rObj : aList )
- this->attach( nIndex, rObj.xTarget, rObj.aHelper );
+ attach( nIndex, rObj.xTarget, rObj.aHelper );
}
@@ -457,7 +457,7 @@ void SAL_CALL ImplEventAttacherManager::revokeScriptEvent
std::deque< AttachedObject_Impl > aList = aIt->aObjList;
for( const auto& rObj : aList )
- this->detach( nIndex, rObj.xTarget );
+ detach( nIndex, rObj.xTarget );
OUString aLstType = ListenerType;
sal_Int32 nLastDot = aLstType.lastIndexOf('.');
@@ -479,7 +479,7 @@ void SAL_CALL ImplEventAttacherManager::revokeScriptEvent
}
for( const auto& rObj : aList )
- this->attach( nIndex, rObj.xTarget, rObj.aHelper );
+ attach( nIndex, rObj.xTarget, rObj.aHelper );
}
@@ -490,10 +490,10 @@ void SAL_CALL ImplEventAttacherManager::revokeScriptEvents(sal_Int32 nIndex )
std::deque< AttachedObject_Impl > aList = aIt->aObjList;
for( const auto& rObj : aList )
- this->detach( nIndex, rObj.xTarget );
+ detach( nIndex, rObj.xTarget );
aIt->aEventList.clear();
for( const auto& rObj : aList )
- this->attach( nIndex, rObj.xTarget, rObj.aHelper );
+ attach( nIndex, rObj.xTarget, rObj.aHelper );
}
@@ -518,7 +518,7 @@ void SAL_CALL ImplEventAttacherManager::removeEntry(sal_Int32 nIndex)
std::deque< AttachedObject_Impl > aList = aIt->aObjList;
for( const auto& rObj : aList )
- this->detach( nIndex, rObj.xTarget );
+ detach( nIndex, rObj.xTarget );
aIndex.erase( aIt );
}
diff --git a/comphelper/source/xml/attributelist.cxx b/comphelper/source/xml/attributelist.cxx
index 44b674b901c9..cf02d5c9bbf7 100644
--- a/comphelper/source/xml/attributelist.cxx
+++ b/comphelper/source/xml/attributelist.cxx
@@ -32,9 +32,9 @@ struct TagAttribute_Impl
TagAttribute_Impl( const OUString &aName, const OUString &aType,
const OUString &aValue )
{
- this->sName = aName;
- this->sType = aType;
- this->sValue = aValue;
+ sName = aName;
+ sType = aType;
+ sValue = aValue;
}
OUString sName;