summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx b/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx
index 3b8e8accad33..1b73b97a1f4f 100644
--- a/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx
+++ b/lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx
@@ -373,8 +373,11 @@ XFFrame* LwpSdwGroupLoaderV0102::CreateDrawObject()
pRetObjct = CreateDrawGroupObject();
- // set anchor type
- pRetObjct->SetAnchorType(enumXFAnchorFrame);
+ if (pRetObjct)
+ {
+ // set anchor type
+ pRetObjct->SetAnchorType(enumXFAnchorFrame);
+ }
break;
}
case OT_CHART://fall-through