diff options
author | Malte Timmermann <mt@openoffice.org> | 2002-08-05 10:37:22 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2002-08-05 10:37:22 +0000 |
commit | 5415ea126e88865d5e97cac74ca1b2fec28280b9 (patch) | |
tree | 5a4a01c182731adec13bf03e4ece24fd952c45e7 /svx/source/outliner/outlvw.cxx | |
parent | 27225db79015f397b3247667f5d208f1319b6345 (diff) |
#97927# ImpCheckMousePos: init nPara when IsTextPos()
Diffstat (limited to 'svx/source/outliner/outlvw.cxx')
-rw-r--r-- | svx/source/outliner/outlvw.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/outliner/outlvw.cxx b/svx/source/outliner/outlvw.cxx index 9d1dc4ecdb6a..740b9838a1b3 100644 --- a/svx/source/outliner/outlvw.cxx +++ b/svx/source/outliner/outlvw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outlvw.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: mt $ $Date: 2002-07-24 13:18:20 $ + * last change: $Author: mt $ $Date: 2002-08-05 11:37:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -329,6 +329,9 @@ ULONG OutlinerView::ImpCheckMousePos(const Point& rPosPix, MouseTarget& reTarget BOOL bBullet; if ( pOwner->IsTextPos( aPaperPos, 0, &bBullet ) ) { + Point aDocPos = pOwner->GetDocPos( aPaperPos ); + nPara = pOwner->pEditEngine->FindParagraph( aDocPos.Y() ); + if ( bBullet ) { reTarget = MouseBullet; |