diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/porfly.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx index bba00742fa93..72643ad8f960 100644 --- a/sw/source/core/text/porfly.cxx +++ b/sw/source/core/text/porfly.cxx @@ -336,6 +336,9 @@ void SwFlyCntPortion::SetBase( const SwTxtFrm& rFrm, const Point &rBase, pSdrObj = GetFlyFrm()->GetVirtDrawObj(); } + if (!pSdrObj) + return; + // position object objectpositioning::SwAsCharAnchoredObjectPosition aObjPositioning( *pSdrObj, |