Kaydet (Commit) 37c35bc2 authored tarafından Michael Stahl's avatar Michael Stahl

sw: -Werror=unused-but-set-variable

Change-Id: Iec8f2715a526d69332e771b99058fa1b321dbc57
üst e17855d3
...@@ -3257,9 +3257,6 @@ void WW8TabDesc::UpdateTableMergeGroup( WW8_TCell& rCell, ...@@ -3257,9 +3257,6 @@ void WW8TabDesc::UpdateTableMergeGroup( WW8_TCell& rCell,
SwTableBox* pActBox, SwTableBox* pActBox,
sal_uInt16 nCol ) sal_uInt16 nCol )
{ {
// set default for return
SwTableBox* pResult = nullptr;
// check if the box has to be merged // check if the box has to be merged
// If cell is the first one to be merged, a new merge group has to be provided. // If cell is the first one to be merged, a new merge group has to be provided.
// E.g., it could be that a cell is the first one to be merged, but no // E.g., it could be that a cell is the first one to be merged, but no
...@@ -3286,8 +3283,6 @@ void WW8TabDesc::UpdateTableMergeGroup( WW8_TCell& rCell, ...@@ -3286,8 +3283,6 @@ void WW8TabDesc::UpdateTableMergeGroup( WW8_TCell& rCell,
{ {
// add current box to merge group // add current box to merge group
pTheMergeGroup->push_back(pActBox); pTheMergeGroup->push_back(pActBox);
// return target box
pResult = (*pTheMergeGroup)[ 0 ];
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment