diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-03-31 13:54:39 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-03-31 13:54:39 +0000 |
commit | e1b4e81da860ed1080cf18ec8d1da69732829468 (patch) | |
tree | 731c65c0d3bdc450e200ceec683a5b9de3bca769 /svtools | |
parent | 1a53eadf08ee032ba963d078fa28cf97d4fadd6f (diff) |
INTEGRATION: CWS gt05 (1.33.82); FILE MERGED
2004/03/24 07:50:27 gt 1.33.82.1: #i17182# SvImpLBox::EntryReallyHit(): sensitive area expanded over whole width
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index 579e4149a801..0a278be75164 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svimpbox.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: rt $ $Date: 2003-12-01 10:01:59 $ + * last change: $Author: rt $ $Date: 2004-03-31 14:54:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -818,6 +818,7 @@ BOOL SvImpLBox::EntryReallyHit(SvLBoxEntry* pEntry,const Point& rPosPixel,long n return TRUE; Rectangle aRect( pView->GetFocusRect( pEntry, nLine )); + aRect.Right() = GetOutputSize().Width() - pView->GetMapMode().GetOrigin().X(); if( pView->IsA() == SV_LISTBOX_ID_TREEBOX ) { SvLBoxContextBmp* pBmp = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)); |