Kaydet (Commit) 17d6c697 authored tarafından Mike Kaganski's avatar Mike Kaganski

tdf#120703 PVS: V547 Expression is always true

Change-Id: I7a863499fdae27afa8a0866fac5cfe227af8aa99
Reviewed-on: https://gerrit.libreoffice.org/62883
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst e3c6c895
......@@ -669,9 +669,8 @@ static void lcl_FillHFParam( ScPrintHFParam& rParam, const SfxItemSet* pHFSet )
// now back in the dialog:
// rParam.nHeight += rParam.nDistance; // not in the dialog any more ???
if (rParam.pBorder)
rParam.nHeight += lcl_LineTotal( rParam.pBorder->GetTop() ) +
lcl_LineTotal( rParam.pBorder->GetBottom() );
rParam.nHeight += lcl_LineTotal( rParam.pBorder->GetTop() ) +
lcl_LineTotal( rParam.pBorder->GetBottom() );
rParam.nManHeight = rParam.nHeight;
}
......
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