From a52f29216d2a70ea4a0a0347d71273cdbf8830e3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Nov 2014 13:34:35 +0200 Subject: fdo#84938: replace HELPMODE_ constants with enum Change-Id: I44be5567e84cdabd8b10771ea37e28b8a88cc23e Reviewed-on: https://gerrit.libreoffice.org/12333 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cui/source/options/optinet2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 49e6ff064f51..d1b3b5c3fb2c 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -562,7 +562,7 @@ void SvxScriptExecListBox::RequestHelp( const HelpEvent& rHEvt ) aPt = OutputToScreenPixel( aItemRect.BottomRight() ); aItemRect.Right() = aPt.X(); aItemRect.Bottom() = aPt.Y(); - if( rHEvt.GetMode() == HELPMODE_BALLOON ) + if( rHEvt.GetMode() == HelpEventMode::BALLOON ) Help::ShowBalloon( this, aItemRect.Center(), aItemRect, aHelpText); else Help::ShowQuickHelp( this, aItemRect, aHelpText ); -- cgit