tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 632, 642. But it seems FRAME case was omitted, based on the above switch (line 591). Change-Id: I781aa8b47bdc969fa8e3e20297c94da71919a33f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175351 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
665dce4442
commit
dea5d561ba
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ ScVbaShape::setRelativeHorizontalPosition(::sal_Int32 _relativehorizontalpositio
|
|||
}
|
||||
case word::WdRelativeHorizontalPosition::wdRelativeHorizontalPositionColumn:
|
||||
{
|
||||
nType = text::RelOrientation::PAGE_FRAME;
|
||||
nType = text::RelOrientation::FRAME;
|
||||
break;
|
||||
}
|
||||
case word::WdRelativeHorizontalPosition::wdRelativeHorizontalPositionMargin:
|
||||
|
|
Loading…
Reference in a new issue