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

Change-Id: I4b48dddeaabf6b321196b537bb7aa55a89ab8fe3
Reviewed-on: https://gerrit.libreoffice.org/62863
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 5447856..c2b3576 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -1474,8 +1474,7 @@
        mrOutlineViewShell.UpdateTitleObject( pPage, pPara );
        mrOutlineViewShell.UpdateOutlineObject( pPage, pPara );

        if( pPara )
            pPara = GetNextTitle(pPara);
        pPara = GetNextTitle(pPara);
    }
}

diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index b939460..a3b9db4 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6543,8 +6543,7 @@
    if( GetFontInstance()->GetFontFace()->GetWeight() <= WEIGHT_MEDIUM &&
        GetFontInstance()->GetFontSelectPattern().GetWeight() > WEIGHT_MEDIUM )
    {
        if( ! bPop )
            aLine.append( "q " );
        aLine.append("q ");
        bPop = true;
        bABold = true;
    }