From 7192cb0f32632ba4095ba0316109cc2eb7f1b218 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 29 Jun 2015 09:58:52 +0200 Subject: coverity#1308430 pSh may be 0 here Change-Id: I2aaee946bdc5a22cf5a83e1e50714556260280f3 --- sw/source/core/layout/layact.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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; } -- cgit