summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2010-08-18 13:23:34 +0200
committerKurt Zenker <kz@openoffice.org>2010-08-18 13:23:34 +0200
commit45ba31b194bc51b16d8f0892e432b2b77fce144d (patch)
treedc8c67fb34464c5f392e9962f896880293ea4270
parentce2c62170340cfe0870f58b3b557c33f9441f2bd (diff)
parentad4d380dd22ccf85b0d0b4a6276ce27a2a9fed41 (diff)
CWS-TOOLING: integrate CWS ooo33gsl05ooo/OOO330_m5
-rw-r--r--svx/source/svdraw/svdmrkv.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 3d72ef276c..418a54925a 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1063,8 +1063,7 @@ void SdrMarkView::AddDragModeHdl(SdrDragMode eMode)
/** handle mouse over effects for handles */
BOOL SdrMarkView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
{
- const ULONG nHdlCount = aHdl.GetHdlCount();
- if( nHdlCount )
+ if(aHdl.GetHdlCount())
{
SdrHdl* pMouseOverHdl = 0;
if( !rMEvt.IsLeaveWindow() && pWin )
@@ -1074,6 +1073,8 @@ BOOL SdrMarkView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
}
// notify last mouse over handle that he lost the mouse
+ const ULONG nHdlCount = aHdl.GetHdlCount();
+
for(ULONG nHdl = 0; nHdl < nHdlCount; nHdl++ )
{
SdrHdl* pCurrentHdl = GetHdl(nHdl);