summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/treelistentry.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-11-15 14:11:19 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-11-15 16:02:46 -0500
commita2baeffbde83535c8cb2056006345b4d01265b90 (patch)
treed3f2186d3bf6a225dd266868c82fe7ff28dd1139 /svtools/source/contnr/treelistentry.cxx
parent67582fd2e3180fde45c11e85f8c3eb5e20ef8bc0 (diff)
Rename SvLBoxItem::IsA() to GetType(), and mark that const.
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
Diffstat (limited to 'svtools/source/contnr/treelistentry.cxx')
-rw-r--r--svtools/source/contnr/treelistentry.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx
index df6b5b7dd92e..b6a5977fe553 100644
--- a/svtools/source/contnr/treelistentry.cxx
+++ b/svtools/source/contnr/treelistentry.cxx
@@ -189,7 +189,7 @@ SvLBoxItem* SvTreeListEntry::GetFirstItem( sal_uInt16 nId ) const
while( nCur < nCount )
{
pItem = GetItem( nCur );
- if( pItem->IsA() == nId )
+ if (pItem->GetType() == nId)
return pItem;
nCur++;
}