summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97/xcl97esc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xcl97/xcl97esc.cxx')
-rw-r--r--sc/source/filter/xcl97/xcl97esc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xcl97/xcl97esc.cxx b/sc/source/filter/xcl97/xcl97esc.cxx
index 0191c89cc081..6a36a78eb98b 100644
--- a/sc/source/filter/xcl97/xcl97esc.cxx
+++ b/sc/source/filter/xcl97/xcl97esc.cxx
@@ -287,7 +287,7 @@ EscherExHostAppData* XclEscherEx::StartShape( const Reference< XShape >& rxShape
pAnchor->SetFlags( *pObj );
pCurrAppData->SetClientAnchor( pAnchor );
}
- const SdrTextObj* pTextObj = PTR_CAST( SdrTextObj, pObj );
+ const SdrTextObj* pTextObj = dynamic_cast<SdrTextObj*>( pObj );
if( pTextObj && !lcl_IsFontwork( pTextObj ) && (pObj->GetObjIdentifier() != OBJ_CAPTION) )
{
const OutlinerParaObject* pParaObj = pTextObj->GetOutlinerParaObject();