diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-29 09:58:52 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-30 09:51:08 +0200 |
commit | 680514c0f838840077df5bbee4bcbcc107cebb40 (patch) | |
tree | bfe882f9fb1b760d7cffac23f02808730388733d /sw | |
parent | dcc013badafab9406739dc5a9bdf7b8601f650eb (diff) |
coverity#1308430 pSh may be 0 here
Change-Id: I2aaee946bdc5a22cf5a83e1e50714556260280f3
(cherry picked from commit 7192cb0f32632ba4095ba0316109cc2eb7f1b218)
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/layact.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx index f43ce61e538c..6a5f78191611 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; } |