diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-14 13:23:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-17 14:04:28 +0200 |
commit | 40dcb18c5fe6dc9e7f904e5919e23869bbff1ac0 (patch) | |
tree | 6c6bacaac036622c32d965a6adaa1b1ffed06ed6 /sw/source | |
parent | d12f6c6f3c3f89442876c98e3d7a7d50901d36cb (diff) |
cid#705945 dereference before null check
Change-Id: Iff5c84f8c01b21645a529e299856505e90f86679
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/app/docsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx index cbdd920b1823..c5e99d4d1ff3 100644 --- a/sw/source/ui/app/docsh.cxx +++ b/sw/source/ui/app/docsh.cxx @@ -431,7 +431,7 @@ sal_Bool SwDocShell::SaveAs( SfxMedium& rMedium ) CalcLayoutForOLEObjects(); // format for OLE objets // #i62875# // reset compatibility flag <DoNotCaptureDrawObjsOnPage>, if possible - if ( pWrtShell && pDoc && + if ( pWrtShell && pDoc->get(IDocumentSettingAccess::DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE) && docfunc::AllDrawObjsOnPage( *pDoc ) ) { |