summaryrefslogtreecommitdiff
path: root/svx
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 /svx
parent67582fd2e3180fde45c11e85f8c3eb5e20ef8bc0 (diff)
Rename SvLBoxItem::IsA() to GetType(), and mark that const.
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/checklbx.cxx2
-rw-r--r--svx/source/dialog/simptabl.cxx4
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx
index 92f46498a434..edbf96d40814 100644
--- a/svx/source/dialog/checklbx.cxx
+++ b/svx/source/dialog/checklbx.cxx
@@ -215,7 +215,7 @@ void SvxCheckListBox::MouseButtonDown( const MouseEvent& rMEvt )
sal_Bool bCheck = ( GetCheckButtonState( pEntry ) == SV_BUTTON_CHECKED );
SvLBoxItem* pItem = GetItem( pEntry, aPnt.X() );
- if ( pItem && pItem->IsA() == SV_ITEM_ID_LBOXBUTTON )
+ if (pItem && pItem->GetType() == SV_ITEM_ID_LBOXBUTTON)
{
SvTreeListBox::MouseButtonDown( rMEvt );
Select( pEntry, sal_True );
diff --git a/svx/source/dialog/simptabl.cxx b/svx/source/dialog/simptabl.cxx
index bee99c2f23cc..e99b1ff76ecd 100644
--- a/svx/source/dialog/simptabl.cxx
+++ b/svx/source/dialog/simptabl.cxx
@@ -451,8 +451,8 @@ StringCompare SvxSimpleTable::ColCompare(SvTreeListEntry* pLeft,SvTreeListEntry*
if(pLeftItem != NULL && pRightItem != NULL)
{
- sal_uInt16 nLeftKind=pLeftItem->IsA();
- sal_uInt16 nRightKind=pRightItem->IsA();
+ sal_uInt16 nLeftKind = pLeftItem->GetType();
+ sal_uInt16 nRightKind = pRightItem->GetType();
if(nRightKind == SV_ITEM_ID_LBOXSTRING &&
nLeftKind == SV_ITEM_ID_LBOXSTRING )
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
index 41580525a169..557b754de54a 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
@@ -389,8 +389,8 @@ StringCompare DictionaryList::ColumnCompare( SvTreeListEntry* pLeft, SvTreeListE
if(pLeftItem != NULL && pRightItem != NULL)
{
- sal_uInt16 nLeftKind=pLeftItem->IsA();
- sal_uInt16 nRightKind=pRightItem->IsA();
+ sal_uInt16 nLeftKind = pLeftItem->GetType();
+ sal_uInt16 nRightKind = pRightItem->GetType();
if(nRightKind == SV_ITEM_ID_LBOXSTRING &&
nLeftKind == SV_ITEM_ID_LBOXSTRING )