summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-24 08:57:19 +0200
committerNoel Grandin <noel@peralex.com>2014-10-24 08:58:05 +0200
commit0a82645c360158f9cc0fdabe2a52f1ff8f981bed (patch)
treefdb1035983220bf588f1f77de7a0d5f2b1f0a861 /svtools
parent6ba8b7f5eacac969e4781d63718083a05491b1bc (diff)
loplugin: cstylecast
Change-Id: Ia0f5f0d0efbe4693aba347bff32cd694117251fe
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 13c5d4b65c3b..154ead8e29cb 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1436,7 +1436,7 @@ IMPL_STATIC_LINK( SvTreeListBox, DragFinishHdl_Impl, sal_Int8*, pAction )
Link SvTreeListBox::GetDragFinishedHdl() const
{
AddBoxToDDList_Impl( *this );
- return STATIC_LINK( this, SvTreeListBox, DragFinishHdl_Impl );
+ return STATIC_LINK( const_cast<SvTreeListBox*>(this), SvTreeListBox, DragFinishHdl_Impl );
}
/*