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

tdf#120703 PVS: V547 Expression is always true/false

Change-Id: I4b48dddeaabf6b321196b537bb7aa55a89ab8fe3
Reviewed-on: https://gerrit.libreoffice.org/62863
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 9e9e08da
...@@ -1474,8 +1474,7 @@ void OutlineView::UpdateDocument() ...@@ -1474,8 +1474,7 @@ void OutlineView::UpdateDocument()
mrOutlineViewShell.UpdateTitleObject( pPage, pPara ); mrOutlineViewShell.UpdateTitleObject( pPage, pPara );
mrOutlineViewShell.UpdateOutlineObject( pPage, pPara ); mrOutlineViewShell.UpdateOutlineObject( pPage, pPara );
if( pPara ) pPara = GetNextTitle(pPara);
pPara = GetNextTitle(pPara);
} }
} }
......
...@@ -6543,8 +6543,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool ...@@ -6543,8 +6543,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool
if( GetFontInstance()->GetFontFace()->GetWeight() <= WEIGHT_MEDIUM && if( GetFontInstance()->GetFontFace()->GetWeight() <= WEIGHT_MEDIUM &&
GetFontInstance()->GetFontSelectPattern().GetWeight() > WEIGHT_MEDIUM ) GetFontInstance()->GetFontSelectPattern().GetWeight() > WEIGHT_MEDIUM )
{ {
if( ! bPop ) aLine.append("q ");
aLine.append( "q " );
bPop = true; bPop = true;
bABold = true; bABold = true;
} }
......
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