Blame SOURCES/0165-coverity-1325053-Dereference-after-null-check.patch

135360
From e8191e29362314214d09dd774ab6993d076d852d Mon Sep 17 00:00:00 2001
135360
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
135360
Date: Tue, 29 Sep 2015 09:41:01 +0100
135360
Subject: [PATCH 165/398] coverity#1325053 Dereference after null check
135360
135360
pre-change !pSh logic inverted at
135360
135360
commit 1b15f4863e6d4b0a280ccd61713cbb1209ffe33e
135360
Author: Miklos Vajna <vmiklos@collabora.co.uk>
135360
Date:   Fri Feb 6 12:12:02 2015 +0100
135360
135360
    LOK: add LOK_CALLBACK_TEXT_SELECTION and implement it in sw
135360
135360
    Change-Id: I31662cb06add0d1a1c517b5f5416703aeaae1e77
135360
135360
Change-Id: If42741c4efce943aaff5081a1a75108470b2a488
135360
(cherry picked from commit 4a031d7c971558f89693925bb504c1157ab6bd04)
135360
---
135360
 sw/source/core/layout/trvlfrm.cxx | 2 +-
135360
 1 file changed, 1 insertion(+), 1 deletion(-)
135360
135360
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
135360
index 65aa24f69e72..aec74f35feb3 100644
135360
--- a/sw/source/core/layout/trvlfrm.cxx
135360
+++ b/sw/source/core/layout/trvlfrm.cxx
135360
@@ -2019,7 +2019,7 @@ void SwRootFrm::CalcFrmRects(SwShellCrsr &rCrsr)
135360
 
135360
     SwViewShell *pSh = GetCurrShell();
135360
 
135360
-    bool bIgnoreVisArea = false;
135360
+    bool bIgnoreVisArea = true;
135360
     if (pSh)
135360
         bIgnoreVisArea = pSh->GetViewOptions()->IsPDFExport() || pSh->isTiledRendering();
135360
 
135360
-- 
135360
2.12.0
135360