Kaydet (Commit) 116c44ce authored tarafından Peter Burow's avatar Peter Burow

fix: #94544# popupmenu position corrected

üst f12d5236
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: zoomctrl.cxx,v $ * $RCSfile: zoomctrl.cxx,v $
* *
* $Revision: 1.1.1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: hr $ $Date: 2000-09-18 17:01:24 $ * last change: $Author: pb $ $Date: 2001-11-12 12:02:54 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -225,8 +225,7 @@ void SvxZoomStatusBarControl::Command( const CommandEvent& rCEvt ) ...@@ -225,8 +225,7 @@ void SvxZoomStatusBarControl::Command( const CommandEvent& rCEvt )
ZoomPopup_Impl aPop( nZoom, nValueSet ); ZoomPopup_Impl aPop( nZoom, nValueSet );
StatusBar& rStatusbar = GetStatusBar(); StatusBar& rStatusbar = GetStatusBar();
if ( aPop.Execute( &rStatusbar, rStatusbar.OutputToScreenPixel( rCEvt.GetMousePosPixel() ) ) && if ( aPop.Execute( &rStatusbar, rCEvt.GetMousePosPixel() ) && ( nZoom != aPop.GetZoom() || !nZoom ) )
( nZoom != aPop.GetZoom() || !nZoom ) )
{ {
nZoom = aPop.GetZoom(); nZoom = aPop.GetZoom();
SvxZoomItem aZoom( SVX_ZOOM_PERCENT, nZoom, GetId() ); SvxZoomItem aZoom( SVX_ZOOM_PERCENT, nZoom, GetId() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment