From 03d21764bc2604bda65e9c5916475f4f96b07320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= Date: Thu, 29 Sep 2011 20:53:33 +0200 Subject: [PATCH] this counter is not needed in sw/.. view.cxx, thanks cppcheck --- sw/source/ui/uiview/view.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index 14eaf04acaf3..ccdfda45218b 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -1362,14 +1362,12 @@ void SwView::ReadUserDataSequence ( const uno::Sequence < beans::PropertyValue > pWrtShell->EnableSmooth( sal_False ); const Rectangle aVis( nLeft, nTop, nRight, nBottom ); - sal_uInt16 nOff = 0; SvxZoomType eZoom; if ( !pWrtShell->GetViewOptions()->getBrowseMode() ) eZoom = static_cast < SvxZoomType > ( nZoomType ); else { eZoom = SVX_ZOOM_PERCENT; - ++nOff; } if (bGotIsSelectedFrame) {