summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-15 06:55:41 +0200
committerobo <obo@openoffice.org>2010-06-15 06:55:41 +0200
commitc016baa4c425bb48cb626ae27e2fb6ed3dd023de (patch)
tree556c4495fb3d992bda3f7a6cd05b8e35ec610519 /svx/source/svdraw
parent85687f1aafedad090dcc437b82899eea6ba54523 (diff)
parent4af0169517cec2172338cad1eb9806aa482a44f4 (diff)
CWS-TOOLING: integrate CWS impress190
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdoutl.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoutl.cxx b/svx/source/svdraw/svdoutl.cxx
index e4b27766a265..79e74a3382b8 100644
--- a/svx/source/svdraw/svdoutl.cxx
+++ b/svx/source/svdraw/svdoutl.cxx
@@ -125,5 +125,8 @@ XubString SdrOutliner::CalcFieldValue(const SvxFieldItem& rField, USHORT nPara,
const SdrTextObj* SdrOutliner::GetTextObj() const
{
- return static_cast< SdrTextObj* >( mpTextObj.get() );
+ if( mpTextObj.is() )
+ return static_cast< SdrTextObj* >( mpTextObj.get() );
+ else
+ return 0;
}