diff options
author | jp <jp@openoffice.org> | 2002-01-18 09:04:16 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2002-01-18 09:04:16 +0000 |
commit | f1e706830ba3a15e9992746de3abcd006c94df68 (patch) | |
tree | f429c86b6db051710b205a5fbeb8b60b5499b5f8 /sw/source/ui/utlui | |
parent | f94620db99c96082039be825c0e2e34f23c3f12a (diff) |
Bug #96673#: RequestHelp - if not handled here, call the base class
Diffstat (limited to 'sw/source/ui/utlui')
-rw-r--r-- | sw/source/ui/utlui/content.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx index d9d8738e3b40..8b2bbc7265b0 100644 --- a/sw/source/ui/utlui/content.cxx +++ b/sw/source/ui/utlui/content.cxx @@ -2,9 +2,9 @@ * * $RCSfile: content.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: os $ $Date: 2001-09-28 06:39:30 $ + * last change: $Author: jp $ $Date: 2002-01-18 10:04:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2442,6 +2442,7 @@ void SwContentTree::KeyInput(const KeyEvent& rEvent) void SwContentTree::RequestHelp( const HelpEvent& rHEvt ) { + BOOL bCallBase = TRUE; if( rHEvt.GetMode() & HELPMODE_QUICK ) { Point aPos( ScreenToOutputPixel( rHEvt.GetMousePosPixel() )); @@ -2540,12 +2541,18 @@ void SwContentTree::RequestHelp( const HelpEvent& rHEvt ) else Help::ShowQuickHelp( this, aItemRect, sEntry, QUICKHELP_LEFT|QUICKHELP_VCENTER ); + bCallBase = FALSE; } } else + { Help::ShowQuickHelp( this, Rectangle(), aEmptyStr, 0 ); + bCallBase = FALSE; + } } } + if( bCallBase ) + Window::RequestHelp( rHEvt ); } /*************************************************************************** @@ -3139,6 +3146,9 @@ void SwContentLBoxString::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16 nFl /*------------------------------------------------------------------------ $Log: not supported by cvs2svn $ + Revision 1.12 2001/09/28 06:39:30 os + #92514# cast of Any::getValue removed + Revision 1.11 2001/07/26 06:09:42 os #89714# prevent removing of current entry after drag and drop |