summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewoverlaymanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewoverlaymanager.cxx')
-rw-r--r--sd/source/ui/view/viewoverlaymanager.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index 60a396e2d865..f182d0d21975 100644
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -182,7 +182,6 @@ void ImageButtonHdl::HideTip()
void ImageButtonHdl::onMouseEnter(const MouseEvent& rMEvt)
{
-
if( pHdlList && pHdlList->GetView())
{
int nHighlightId = 0;
@@ -204,10 +203,7 @@ void ImageButtonHdl::onMouseEnter(const MouseEvent& rMEvt)
if( pHdlList )
{
- SdResId aResId( gButtonToolTips[mnHighlightId] );
- aResId.SetRT( RSC_STRING );
-
- OUString aHelpText( aResId );
+ OUString aHelpText(SdResId(gButtonToolTips[mnHighlightId]));
::tools::Rectangle aScreenRect( pDev->LogicToPixel( GetPos() ), maImageSize );
Help::ShowQuickHelp(static_cast< vcl::Window* >( pHdlList->GetView()->GetFirstOutputDevice() ), aScreenRect, aHelpText);
}