summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/PostItMgr.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-06-01 14:29:52 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-06-01 14:38:59 +0100
commitec0dc4459784c6ed480d57509eb737fd163d3100 (patch)
treed406470e399b4c2ef4d532f4476b11c1562aafcb /sw/source/ui/docvw/PostItMgr.cxx
parent566f844dac12ec4a4d2dee1773e8a585e9b14b23 (diff)
targetted revert of minor cppcheck cleanups
Change-Id: I72bd86baaccb6f0604f04217046b1b523a02aa62
Diffstat (limited to 'sw/source/ui/docvw/PostItMgr.cxx')
-rw-r--r--sw/source/ui/docvw/PostItMgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/PostItMgr.cxx b/sw/source/ui/docvw/PostItMgr.cxx
index 84e55a11619a..c82a782ea015 100644
--- a/sw/source/ui/docvw/PostItMgr.cxx
+++ b/sw/source/ui/docvw/PostItMgr.cxx
@@ -935,7 +935,9 @@ bool SwPostItMgr::LayoutByPage(std::list<SwSidebarWin*> &aVisiblePostItList,cons
long lTopBorder = rBorder.Top() + 5;
long lBottomBorder = rBorder.Bottom() - 5;
const long lVisibleHeight = lBottomBorder - lTopBorder; //rBorder.GetHeight() ;
+ long lSpaceUsed = 0;
long lTranslatePos = 0;
+ int loop = 0;
bool bScrollbars = false;
// do all neccessary resizings
@@ -965,8 +967,6 @@ bool SwPostItMgr::LayoutByPage(std::list<SwSidebarWin*> &aVisiblePostItList,cons
if (aVisiblePostItList.size()>1)
{
bool bDone = false;
- long lSpaceUsed = 0;
- int loop = 0;
// if no window is moved anymore we are finished
while (!bDone)
{