diff options
Diffstat (limited to 'starmath')
-rwxr-xr-x | starmath/source/view.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 0087595703ca..98c7142d255e 100755 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1612,19 +1612,17 @@ void SmViewShell::Execute(SfxRequest& rReq) { if ( !GetViewFrame()->GetFrame().IsInPlace() ) { - //CHINA001 SvxZoomDialog *pDlg = 0; AbstractSvxZoomDialog *pDlg = 0; const SfxItemSet *pSet = rReq.GetArgs(); if ( !pSet ) { SfxItemSet aSet( GetDoc()->GetPool(), SID_ATTR_ZOOM, SID_ATTR_ZOOM); aSet.Put( SvxZoomItem( SVX_ZOOM_PERCENT, aGraphic.GetZoom())); - //CHINA001 pDlg = new SvxZoomDialog( &GetViewFrame()->GetWindow(), aSet); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { pDlg = pFact->CreateSvxZoomDialog(&GetViewFrame()->GetWindow(), aSet); - DBG_ASSERT(pDlg, "Dialogdiet fail!");//CHINA001 + DBG_ASSERT(pDlg, "Dialogdiet fail!"); } pDlg->SetLimits( MINZOOM, MAXZOOM ); if( pDlg->Execute() != RET_CANCEL ) |