diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-17 16:54:00 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-18 09:53:11 -0400 |
commit | 7746e42006a5732a9e26dd21481391f0419d0a2e (patch) | |
tree | 5d2655a559b961a59b2ab66d9e296cdd150aa5dd /editeng | |
parent | 8e92501541dfc374803cde0dec90939cde37348a (diff) |
Non-inlining constructors.
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/flditem.hxx | 38 | ||||
-rw-r--r-- | editeng/source/items/flditem.cxx | 15 |
2 files changed, 37 insertions, 16 deletions
diff --git a/editeng/inc/editeng/flditem.hxx b/editeng/inc/editeng/flditem.hxx index be874b0a70c3..4b85be9e4074 100644 --- a/editeng/inc/editeng/flditem.hxx +++ b/editeng/inc/editeng/flditem.hxx @@ -194,8 +194,9 @@ public: class EDITENG_DLLPUBLIC SvxPageField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxPageField, SvxFieldData, SVX_PAGEFIELD ) - SvxPageField() {} + SV_DECL_PERSIST1( SvxPageField, SvxFieldData, SVX_PAGEFIELD ) + SvxPageField(); + virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; @@ -205,8 +206,9 @@ public: class EDITENG_DLLPUBLIC SvxPagesField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxPagesField, SvxFieldData, SVX_PAGESFIELD ) - SvxPagesField() {} + SV_DECL_PERSIST1( SvxPagesField, SvxFieldData, SVX_PAGESFIELD ) + SvxPagesField(); + virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; }; @@ -214,8 +216,9 @@ public: class EDITENG_DLLPUBLIC SvxTimeField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxTimeField, SvxFieldData, SVX_TIMEFIELD ) - SvxTimeField() {} + SV_DECL_PERSIST1( SvxTimeField, SvxFieldData, SVX_TIMEFIELD ) + SvxTimeField(); + virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; @@ -225,8 +228,9 @@ public: class EDITENG_DLLPUBLIC SvxFileField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxFileField, SvxFieldData, SVX_FILEFIELD ) - SvxFileField() {} + SV_DECL_PERSIST1( SvxFileField, SvxFieldData, SVX_FILEFIELD ) + SvxFileField(); + virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; }; @@ -234,8 +238,9 @@ public: class EDITENG_DLLPUBLIC SvxTableField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxTableField, SvxFieldData, SVX_TABLEFIELD ) - SvxTableField() {} + SV_DECL_PERSIST1( SvxTableField, SvxFieldData, SVX_TABLEFIELD ) + SvxTableField(); + virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; }; @@ -382,8 +387,9 @@ public: class EDITENG_DLLPUBLIC SvxHeaderField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxHeaderField, SvxFieldData, SVX_HEADERFIELD ) - SvxHeaderField() {} + SV_DECL_PERSIST1( SvxHeaderField, SvxFieldData, SVX_HEADERFIELD ) + SvxHeaderField(); + virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; }; @@ -393,8 +399,8 @@ public: class EDITENG_DLLPUBLIC SvxFooterField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxFooterField, SvxFieldData, SVX_FOOTERFIELD ) - SvxFooterField() {} + SV_DECL_PERSIST1( SvxFooterField, SvxFieldData, SVX_FOOTERFIELD ) + SvxFooterField(); virtual SvxFieldData* Clone() const; virtual int operator==( const SvxFieldData& ) const; }; @@ -404,8 +410,8 @@ public: class EDITENG_DLLPUBLIC SvxDateTimeField : public SvxFieldData { public: - SV_DECL_PERSIST1( SvxDateTimeField, SvxFieldData, SVX_DATEFIMEFIELD ) - SvxDateTimeField() {} + SV_DECL_PERSIST1( SvxDateTimeField, SvxFieldData, SVX_DATEFIMEFIELD ) + SvxDateTimeField(); static rtl::OUString GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rFormatter, LanguageType eLanguage ); diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index 46153e65cd51..fb1647998e1a 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -436,6 +436,8 @@ MetaAction* SvxURLField::createBeginComment() const SV_IMPL_PERSIST1( SvxPageField, SvxFieldData ); +SvxPageField::SvxPageField() {} + SvxFieldData* SvxPageField::Clone() const { return new SvxPageField; // empty @@ -462,6 +464,8 @@ MetaAction* SvxPageField::createBeginComment() const SV_IMPL_PERSIST1( SvxPagesField, SvxFieldData ); +SvxPagesField::SvxPagesField() {} + SvxFieldData* SvxPagesField::Clone() const { return new SvxPagesField; // empty @@ -482,6 +486,8 @@ void SvxPagesField::Save( SvPersistStream & /*rStm*/ ) SV_IMPL_PERSIST1( SvxTimeField, SvxFieldData ); +SvxTimeField::SvxTimeField() {} + SvxFieldData* SvxTimeField::Clone() const { return new SvxTimeField; // empty @@ -507,6 +513,8 @@ MetaAction* SvxTimeField::createBeginComment() const SV_IMPL_PERSIST1( SvxFileField, SvxFieldData ); +SvxFileField::SvxFileField() {} + SvxFieldData* SvxFileField::Clone() const { return new SvxFileField; // empty @@ -527,6 +535,8 @@ void SvxFileField::Save( SvPersistStream & /*rStm*/ ) SV_IMPL_PERSIST1( SvxTableField, SvxFieldData ); +SvxTableField::SvxTableField() {} + SvxFieldData* SvxTableField::Clone() const { return new SvxTableField; // empty @@ -969,6 +979,8 @@ SvClassManager& SvxFieldItem::GetClassManager() SV_IMPL_PERSIST1( SvxHeaderField, SvxFieldData ); +SvxHeaderField::SvxHeaderField() {} + SvxFieldData* SvxHeaderField::Clone() const { return new SvxHeaderField; // empty @@ -990,6 +1002,7 @@ void SvxHeaderField::Save( SvPersistStream & /*rStm*/ ) /////////////////////////////////////////////////////////////////////// SV_IMPL_PERSIST1( SvxFooterField, SvxFieldData ); +SvxFooterField::SvxFooterField() {} SvxFieldData* SvxFooterField::Clone() const { @@ -1031,6 +1044,8 @@ void SvxDateTimeField::Save( SvPersistStream & /*rStm*/ ) { } +SvxDateTimeField::SvxDateTimeField() {} + rtl::OUString SvxDateTimeField::GetFormatted( Date& rDate, Time& rTime, int eFormat, SvNumberFormatter& rFormatter, LanguageType eLanguage ) { |