diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-01-05 12:19:22 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-01-05 12:19:22 +0100 |
commit | 354fb6f7096b58f86f6ff1cadf15f28c995eb9ff (patch) | |
tree | 6ff036723f8e47542b44edf9d3af09c4095a08b0 /svx/source/dialog/svxruler.cxx | |
parent | 6279a2e452f22899fb791b8d7b7f2e65e6eb9f9f (diff) |
cppcheck cleaning in svx part 2
Diffstat (limited to 'svx/source/dialog/svxruler.cxx')
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 9cd13233bd74..3b36ed45ebc5 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -2186,16 +2186,14 @@ ADD_DEBUG_TEXT("lLastLMargin: ", String::CreateFromInt32(pRuler_Imp->lLastLMargi //This includes the left border when the table is not limited //to a lower frame border. int nLimit; - long lLeft; if(GetDragType()==RULER_TYPE_BORDER) { nLimit=nIdx+1; - lLeft=(pBorders[nIdx].nPos+=lDiff); + pBorders[nIdx].nPos+=lDiff; } else { nLimit=0; - lLeft=pRuler_Imp->lLastLMargin+lDiff; } //in vertical tables the left borders have to be moved if(bHorz) |