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.hxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index 8b69c8afc0f9..b0dc8a9e703b 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -52,19 +52,16 @@ public:
TYPEINFO();
};
-#define SV_DECL_PERSIST( Class, CLASS_ID ) \
- TYPEINFO_OVERRIDE(); \
- static sal_Int32 StaticClassId() { return CLASS_ID; } \
+#define SV_DECL_PERSIST1( Class, Super1, CLASS_ID ) \
+ TYPEINFO_OVERRIDE(); \
+ static sal_Int32 StaticClassId() { return CLASS_ID; } \
static void * CreateInstance( SvPersistBase ** ppBase ); \
friend SvPersistStream& operator >> ( SvPersistStream & rStm, \
Class *& rpObj); \
- virtual sal_Int32 GetClassId() const SAL_OVERRIDE; \
- virtual void Load( SvPersistStream & ) SAL_OVERRIDE; \
+ virtual sal_Int32 GetClassId() const SAL_OVERRIDE; \
+ virtual void Load( SvPersistStream & ) SAL_OVERRIDE; \
virtual void Save( SvPersistStream & ) SAL_OVERRIDE;
-#define SV_DECL_PERSIST1( Class, Super1, CLASS_ID ) \
- SV_DECL_PERSIST( Class, CLASS_ID )
-
#define PRV_SV_IMPL_PERSIST( Class ) \
void * Class::CreateInstance( SvPersistBase ** ppBase )\
{ \