summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-06-29 09:58:52 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-06-29 10:15:00 +0200
commit7192cb0f32632ba4095ba0316109cc2eb7f1b218 (patch)
tree5191fcc8e008509ef05a1b753e9fd45e70f40ead
parentb55166d266f31caf7bd85e54a59c7e8b49204b16 (diff)
coverity#1308430 pSh may be 0 here
Change-Id: I2aaee946bdc5a22cf5a83e1e50714556260280f3
-rw-r--r--sw/source/core/layout/layact.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index f25208b8e8b9..a29191b5f11b 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -1026,7 +1026,7 @@ bool SwLayAction::IsShortCut( SwPageFrm *&prPage )
}
}
else
- FormatLayout( pSh->GetOut(), prPage );
+ FormatLayout( pSh ? pSh->GetOut() : 0, prPage );
if ( IsAgain() )
return false;
}