summaryrefslogtreecommitdiff
path: root/svtools/source
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 /svtools/source
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 'svtools/source')
-rw-r--r--svtools/source/contnr/treelistbox.cxx8
-rw-r--r--svtools/source/control/ruler.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index cf5e9a2aa05d..0b216898002e 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -482,7 +482,7 @@ bool SvTreeListBox::CheckDragAndDropMode( SvTreeListBox const * pSource, sal_Int
- entry is inserted at the end of the target childlist
*/
TriState SvTreeListBox::NotifyMoving(
- SvTreeListEntry* pTarget, // D&D dropping position in this->GetModel()
+ SvTreeListEntry* pTarget, // D&D dropping position in GetModel()
SvTreeListEntry* pEntry, // entry that we want to move, from
// GetSourceListBox()->GetModel()
SvTreeListEntry*& rpNewParent, // new target parent
@@ -516,7 +516,7 @@ TriState SvTreeListBox::NotifyMoving(
}
TriState SvTreeListBox::NotifyCopying(
- SvTreeListEntry* pTarget, // D&D dropping position in this->GetModel()
+ SvTreeListEntry* pTarget, // D&D dropping position in GetModel()
SvTreeListEntry* pEntry, // entry that we want to move, from
// GetSourceListBox()->GetModel()
SvTreeListEntry*& rpNewParent, // new target parent
@@ -1074,7 +1074,7 @@ sal_Int8 SvTreeListBox::AcceptDrop( const AcceptDropEvent& rEvt )
else
{
DBG_ASSERT(g_pDDSource, "SvTreeListBox::QueryDrop(): SourceBox == 0");
- if (!( pEntry && g_pDDSource->GetModel() == this->GetModel()
+ if (!( pEntry && g_pDDSource->GetModel() == GetModel()
&& DND_ACTION_MOVE == rEvt.mnAction
&& (pEntry->nEntryFlags & SvTLEntryFlags::DISABLE_DROP)))
{
@@ -1211,7 +1211,7 @@ nAction
#ifndef UNX
if ( (nAction == DND_ACTION_MOVE)
- && ( (g_pDDTarget && (g_pDDTarget->GetModel() != this->GetModel()))
+ && ( (g_pDDTarget && (g_pDDTarget->GetModel() != GetModel()))
|| !g_pDDTarget))
{
RemoveSelection();
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 70b2897f7851..8392ba2fd678 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2734,7 +2734,7 @@ uno::Reference< XAccessible > Ruler::CreateAccessible()
aStr = SvtResId(STR_SVT_ACC_RULER_VERT_NAME);
}
mxAccContext = new SvtRulerAccessible( xAccParent, *this, aStr );
- this->SetAccessible(mxAccContext.get());
+ SetAccessible(mxAccContext.get());
return mxAccContext.get();
}
else