summaryrefslogtreecommitdiff
path: root/include/tools/pstm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/pstm.hxx')
-rw-r--r--include/tools/pstm.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index 9d22c4234c39..577c301d0c8c 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -75,7 +75,7 @@ public:
{ \
SvPersistBase * pObj; \
rStm >> pObj; \
- rpObj = PTR_CAST( Class, pObj ); \
+ rpObj = dynamic_cast< Class*>( pObj ); \
return rStm; \
}