gridfixes: #i112465# introduce HideBalloonAndQuickHelp
Change-Id: Iea03d691755ac86fae4a0ac6697b726f21925ae7 Reviewed-on: https://gerrit.libreoffice.org/538 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
This commit is contained in:
committed by
Miklos Vajna
parent
87e333667b
commit
a1a165f1af
@@ -118,6 +118,8 @@ public:
|
||||
sal_uInt16 nStyle = 0 )
|
||||
{ return Help::ShowQuickHelp( pParent, rScreenRect, rHelpText, XubString(), nStyle ); }
|
||||
|
||||
static void HideBalloonAndQuickHelp();
|
||||
|
||||
static sal_uLong ShowTip( Window* pParent,
|
||||
const Rectangle& rScreenRect,
|
||||
const XubString& rText, sal_uInt16 nStyle = 0 );
|
||||
|
@@ -250,6 +250,15 @@ sal_Bool Help::ShowQuickHelp( Window* pParent,
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
void Help::HideBalloonAndQuickHelp()
|
||||
{
|
||||
HelpTextWindow const * pHelpWin = ImplGetSVData()->maHelpData.mpHelpWin;
|
||||
bool const bIsVisible = ( pHelpWin != NULL ) && pHelpWin->IsVisible();
|
||||
ImplDestroyHelpWindow( bIsVisible );
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
sal_uIntPtr Help::ShowTip( Window* pParent, const Rectangle& rScreenRect,
|
||||
const XubString& rText, sal_uInt16 nStyle )
|
||||
{
|
||||
|
Reference in New Issue
Block a user