summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-09-29 20:53:33 +0200
committerPierre-André Jacquod <pjacquod@alumni.ethz.ch>2011-10-07 15:57:35 +0200
commit03d21764bc2604bda65e9c5916475f4f96b07320 (patch)
tree8964741381bbb64a72176793f63eca07c53a422f /sw
parent8efc2f7428b86b8de6e4d6cc77c714c24ad2d49b (diff)
this counter is not needed in sw/.. view.cxx, thanks cppcheck
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/view.cxx2
1 files changed, 0 insertions, 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)
{