summaryrefslogtreecommitdiff
path: root/sw
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 /sw
parent67582fd2e3180fde45c11e85f8c3eb5e20ef8bc0 (diff)
Rename SvLBoxItem::IsA() to GetType(), and mark that const.
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/index/cnttab.cxx2
-rw-r--r--sw/source/ui/utlui/content.cxx2
-rw-r--r--sw/source/ui/utlui/glbltree.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 383a80515ddb..aaffcb78fecc 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -1813,7 +1813,7 @@ void SwIdxTreeListBox::RequestHelp( const HelpEvent& rHEvt )
{
SvLBoxTab* pTab;
SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab );
- if( pItem && SV_ITEM_ID_LBOXSTRING == pItem->IsA())
+ if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType())
{
aPos = GetEntryPosition( pEntry );
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx
index 78a749db98f1..034393d6d503 100644
--- a/sw/source/ui/utlui/content.cxx
+++ b/sw/source/ui/utlui/content.cxx
@@ -2540,7 +2540,7 @@ void SwContentTree::RequestHelp( const HelpEvent& rHEvt )
{
SvLBoxTab* pTab;
SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab );
- if( pItem && SV_ITEM_ID_LBOXSTRING == pItem->IsA())
+ if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType())
{
aPos = GetEntryPosition( pEntry );
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx
index 9985c4290127..7742a9afdff0 100644
--- a/sw/source/ui/utlui/glbltree.cxx
+++ b/sw/source/ui/utlui/glbltree.cxx
@@ -475,7 +475,7 @@ void SwGlobalTree::RequestHelp( const HelpEvent& rHEvt )
bParent = sal_False;
SvLBoxTab* pTab;
SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab );
- if(pItem && SV_ITEM_ID_LBOXSTRING == pItem->IsA())
+ if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType())
{
const SwSection* pSect = pCont->GetSection();
String sEntry = pSect->GetLinkFileName().GetToken(0, sfx2::cTokenSeperator);