summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdxfer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/app/sdxfer.cxx')
-rw-r--r--sd/source/ui/app/sdxfer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index 4a67154ccd6f..e87fd1a016b3 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -204,7 +204,7 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
}
}
}
- else if( auto pTextObj = dynamic_cast< SdrTextObj *>( pObj ) )
+ else if( auto pTextObj = DynCastSdrTextObj( pObj ) )
{
const OutlinerParaObject* pPara;