summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorMichael Dunphy <mdunphy@uwaterloo.ca>2015-03-22 01:04:12 +0100
committerDavid Tardon <dtardon@redhat.com>2015-03-23 08:48:56 +0000
commitda631972229389d40e0502e02ff4e2c0761ca3fc (patch)
tree2218df146e11799e5089a6436b306ca81e2d720b /svx/source/table
parentb0c1d2a7f368ed8af46d358e4b4350eb435fa241 (diff)
fdo#39440 cppcheck cleanliness
Reduce scope of local variables. Change-Id: I5f06dc0d9d16e92a7a0afb599eb3a93d9d5cc878 Reviewed-on: https://gerrit.libreoffice.org/14943 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/tablecontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index 119ff78865f3..0abbf7ee4367 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -2829,10 +2829,10 @@ void lcl_MergeBorderLine(
const sal_uInt16 nInnerLine(bBorder ? 0 : ((nValidFlag & VALID_HORI) ? BOXINFO_LINE_HORI : BOXINFO_LINE_VERT));
BoxItemWrapper aBoxItem(rLinesState.rBoxItem, rLinesState.rBoxInfoItem, nLine, nInnerLine, bBorder);
bool& rbSet(bBorder ? rLinesState.aBorderSet[nLine] : rLinesState.aInnerLineSet[nInnerLine]);
- bool& rbIndeterminate(bBorder ? rLinesState.aBorderIndeterminate[nLine] : rLinesState.aInnerLineIndeterminate[nInnerLine]);
if (rbSet)
{
+ bool& rbIndeterminate(bBorder ? rLinesState.aBorderIndeterminate[nLine] : rLinesState.aInnerLineIndeterminate[nInnerLine]);
if (!rbIndeterminate)
{
const SvxBorderLine* const pMergedLine(aBoxItem.getLine());