summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svimpbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/contnr/svimpbox.cxx')
-rw-r--r--svtools/source/contnr/svimpbox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index f014b6fb1c29..760497e5a7d9 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -3192,7 +3192,7 @@ bool SvImpLBox::RequestHelp( const HelpEvent& rHEvt )
{
// recalculate text rectangle
SvLBoxTab* pTab;
- SvLBoxString* pItem = static_cast<SvLBoxString*>(pView->GetItem( pEntry, aPos.X(), &pTab ));
+ SvLBoxItem* pItem = pView->GetItem( pEntry, aPos.X(), &pTab );
if (!pItem || pItem->GetType() != SV_ITEM_ID_LBOXSTRING)
return false;
@@ -3225,7 +3225,7 @@ bool SvImpLBox::RequestHelp( const HelpEvent& rHEvt )
aItemRect.Bottom() = aPt.Y();
Help::ShowQuickHelp( pView, aItemRect,
- pItem->GetText(), QUICKHELP_LEFT | QUICKHELP_VCENTER );
+ static_cast<SvLBoxString*>(pItem)->GetText(), QUICKHELP_LEFT | QUICKHELP_VCENTER );
return true;
}
}