this counter is not needed in sw/.. view.cxx, thanks cppcheck

This commit is contained in:
Pierre-André Jacquod
2011-09-29 20:53:33 +02:00
parent 8efc2f7428
commit 03d21764bc

View File

@@ -1362,14 +1362,12 @@ void SwView::ReadUserDataSequence ( const uno::Sequence < beans::PropertyValue >
pWrtShell->EnableSmooth( sal_False ); pWrtShell->EnableSmooth( sal_False );
const Rectangle aVis( nLeft, nTop, nRight, nBottom ); const Rectangle aVis( nLeft, nTop, nRight, nBottom );
sal_uInt16 nOff = 0;
SvxZoomType eZoom; SvxZoomType eZoom;
if ( !pWrtShell->GetViewOptions()->getBrowseMode() ) if ( !pWrtShell->GetViewOptions()->getBrowseMode() )
eZoom = static_cast < SvxZoomType > ( nZoomType ); eZoom = static_cast < SvxZoomType > ( nZoomType );
else else
{ {
eZoom = SVX_ZOOM_PERCENT; eZoom = SVX_ZOOM_PERCENT;
++nOff;
} }
if (bGotIsSelectedFrame) if (bGotIsSelectedFrame)
{ {